Hi That is expected if you cannot shutdown graceful in 5 minutes, then a forced shutdown happens, which may leave threads in the JVM.
That could indicate you have to ensure resources gets properly shutdown. On Mon, Mar 17, 2014 at 12:05 PM, Ali, Mohammad <mohammad.a...@genpact.com> wrote: > Hi, > > We are using camel 2.9.0. We are facing one issue with camel route threads > not getting killed when there are inflight messages in the camel routes and > we stops the route. It waits for 5 minutes for the inflight message to get > processed, but after 5 minutes it kills the route, but when we see through > jconsole we found that the threads are still alive for the route in memory. > To kill the routes we have to re-start our application. > > Any guide will be appreciated. > > Thanks & Regards, > Shadab Ali > E: mohammad.a...@genpact.com<mailto:mohammad.a...@genpact.com> > > > This e-mail (and any attachments), is confidential and may be privileged. It > may be read, copied and used only > by intended recipients. Unauthorized access to this e-mail (or attachments) > and disclosure or copying of its > contents or any action taken in reliance on it is unlawful. Unintended > recipients must notify the sender immediately > by e-mail/phone & delete it from their system without making any copies or > disclosing it to a third person. > -- Claus Ibsen ----------------- Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen Make your Camel applications look hawt, try: http://hawt.io