Skip to content

Consider adding autostart property to SqsOptions.Listener #1188

Open
@akefirad

Description

@akefirad

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions