You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by varunmaurya <sp...@gmail.com> on 2017/03/31 00:26:33 UTC

Shutting down camel immediately

How can we shutdown camel context and underlying routes immediately (not
gracefully).
http://stackoverflow.com/questions/43124437/how-to-stop-camel-context-immediately/
<http://stackoverflow.com/questions/43124437/how-to-stop-camel-context-immediately/>  



--
View this message in context: http://camel.465427.n5.nabble.com/Shutting-down-camel-immediately-tp5796763.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Shutting down camel immediately

Posted by Claus Ibsen <cl...@gmail.com>.
System.exit(0) shutdown really fast.

Well just set a short timeout value like 1 second or something. But
mind its not a good idea to shutdown a running app and not give it
time to shutdown correct

On Fri, Mar 31, 2017 at 2:26 AM, varunmaurya <sp...@gmail.com> wrote:
> How can we shutdown camel context and underlying routes immediately (not
> gracefully).
> http://stackoverflow.com/questions/43124437/how-to-stop-camel-context-immediately/
> <http://stackoverflow.com/questions/43124437/how-to-stop-camel-context-immediately/>
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Shutting-down-camel-immediately-tp5796763.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2