spring-cloud-aws icon indicating copy to clipboard operation
spring-cloud-aws copied to clipboard

Consider adding `autostart` property to `SqsOptions.Listener`

Open akefirad opened this issue 6 months ago • 3 comments

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.

akefirad avatar Aug 16 '24 12:08 akefirad