Hello,
The reason that camel does not stop the route directly is that there
are inflight messages in the route.
Setting the timeout to 1 will shorten the time camel wait for the
inflight messages to be processed so there is a risk that by doing
this messages will be lost.
Another approch could be
Do you try to stop the route running the same thread? You should do it in a
different thread.
Best,
Christian
On Sun, Jul 29, 2012 at 2:14 PM, soumya_sd wrote:
> I found a solution for this.
>
> I added the following and now the Camel forces the route to shutdown in 1
> seconds (timeout time) i
I found a solution for this.
I added the following and now the Camel forces the route to shutdown in 1
seconds (timeout time) instead of the default 300 seconds.
--
View this message in context:
http://camel.465427.n5.nabble.com/Options-for-creating-dyna