spring-cloud-aws
spring-cloud-aws copied to clipboard
Consider adding `autostart` property to `SqsOptions.Listener`
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
or autoStartup
(if you wanna be consistent with the property in SqsContainerOptions
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.