Questions regarding Graceful shutdown

2023-01-09 Thread Gaurav Kumar
Hi Team I am using camel version 3.14.4 and trying to implement clean shutdown. As per the link below https://camel.apache.org/manual/graceful-shutdown.html , I can implement Graceful shutdown by implementing DefaultShutdownStrategy. I have added it in configuration and can see that bean has been

Re: Questions regarding Graceful shutdown

2023-01-10 Thread Gaurav Kumar
Received hangup signal, stopping the main instance.* On Tue, 10 Jan 2023 at 13:53, Claus Ibsen wrote: > How do you run Camel? Spring Boot or some other way. > > Also you should 99% not implement your own shutdown strategy but just > configure the out of the box. > > On Tue, Jan

Re: Questions regarding Graceful shutdown

2023-01-10 Thread Gaurav Kumar
if you do then it comes with its own shutdown strategy. > > > On Tue, Jan 10, 2023 at 11:42 AM Gaurav Kumar > wrote: > > > Thanks for your response. > > > > I have tried setting up in context > > context.setShutdownStrategy(new DefaultShutdownStrategy()); >

Shutdown of camel routes

2023-05-09 Thread Gaurav Kumar
Hi I am using camel (3.14) with springboot. Application is also using camel quickfixj to connect with the vendor platform via FIX protocol. Application has a public camel route that consumes messages from the Fix session, but when I shutdown the application, the public route stops first and the