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 <[email protected]> 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
