Skip to content

Stop accepting message in @RqueueListener when spring boot graceful shutdown initiated #237

Description

@VaclavChalupaS1

Hi, is there any possibility to stop accepting new and new messages by @RqueueListener when graceful shutdown is initiated?
Currently, it is accepting messages till the lifecycle shutdown period and then it is waiting for currently executed tasks to be finished.

Thanks.

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions