Skip to content

Add an option to start the containers after the ApplicationContext is refreshed #723

@jacobmarshmallow

Description

@jacobmarshmallow

Type: Bug

Component:
SQS

Describe the bug
I'm unsure if this is intended but thought I'd raise it just in case. when using spring.main.lazy-initialization=true our listeners marked with @SqsListener don't get registered unless marked with @Lazy(false). It's not a huge issue but SQS is one of the main reasons for slow service start times and isn't necessary immediately in this service.

Versions:

spring-boot: 3.0.4
spring-cloud-dependencies: 2022.0.1
spring-cloud-aws-dependencies: 3.0.0-RC1

Sample
I can provide a smallest possible reproduction if needed, but it was essentially an empty project with spring boot 3 web + cloud + messaging + sqs

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: sqsSQS integration related issuestatus: ideal-for-contributionWe agree it's nice to have but it is not team prioritytype: enhancementSmaller enhancement in existing integration

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions