RE: Graceful shutdown of the route

2024-05-23 Thread Branko Husarik, Wood & Co.
Hi, thank you. It works exactly as I wanted. Branko -Původní zpráva- Od: Claus Ibsen Odesláno: Thursday, May 23, 2024 12:15 PM Komu: users@camel.apache.org Předmět: Re: Graceful shutdown of the route Hi Try with async=false On Thu, May 23, 2024 at 11:00 AM Branko Husarik, Wood &

Re: Graceful shutdown of the route

2024-05-23 Thread Claus Ibsen
Hi Try with async=false On Thu, May 23, 2024 at 11:00 AM Branko Husarik, Wood & Co. wrote: > Hello, > > I have a question about the graceful shutdown of the route and its > subsequent startup. I switched from force shutdown: > context.getRouteController().stopRoute("r

Graceful shutdown of the route

2024-05-23 Thread Branko Husarik, Wood & Co.
Hello, I have a question about the graceful shutdown of the route and its subsequent startup. I switched from force shutdown: context.getRouteController().stopRoute("routeId") to the shutdown by control bus: producerTemplate.sendBody("controlbus:route?routeId=routeId=stop=tr