Consider adding autostart
property to SqsOptions.Listener
#1188
Labels
component: sqs
SQS integration related issue
status: waiting-for-feedback
Waiting for feedback from issuer
type: enhancement
Smaller enhancement in existing integration
Type: Feature
Is your feature request related to a problem? Please describe.
There are cases in which we might wanna have SQS integration (e.g. publishing messages) but disable SQS listeners. But currently there's no easy way to do this via configuration properties.
Describe the solution you'd like
Add a boolean flag to
SqsProperties.Listener
class;autostart
orautoStartup
(if you wanna be consistent with the property inSqsContainerOptions
class).Describe alternatives you've considered
Disabling the whole SQS integration (using
spring.cloud.aws.sqs.enabled
) but it doesn't support this exact use case.Additional context
N/A
Happy to send the PR if needed.
The text was updated successfully, but these errors were encountered: