Will JCSMPInboundChannelAdapter have configurable shutdownInterruptThresholdInMillis?

Hello, we are experiencing an issue with graceful shutdown of an application. We are using spring cloud "com.solace.spring.cloud:spring-cloud-starter-stream-solace:4.1.0"
There is no awaiting for the termination and messages finish in the error queue.
Is there a better way to gracefully stop and resume? Will configuring shutdownInterruptThresholdInMillis help?

Answers

  • marc
    marc Member, Administrator, Moderator, Employee Posts: 889 admin

    Hi @Julija,

    I'm hoping to get a bit more info to get the the right answer. Can you elaborate on what you mean by this?

    There is no awaiting for the termination and messages finish in the error queue.

    Also, how are you triggering the graceful shutdown? Are you using/wanting to use one of these options or something else?

    https://www.baeldung.com/spring-boot-shutdown

    thank you!