Do you want to post your complete main function? As you've posted it, I cannot reproduce...
On Tue, Jul 23, 2013 at 2:39 PM, SyedBhai <syedahmed.c...@hotmail.com>wrote: > Hello Claus, > As per your instruction I removed all the statements that force the > shutdown of camelcontext. > I let the camel take its time and shutdown gracefully. > To my surprise even though the default timeout is 300 secs I gave the > application about ten minutes. Still it did not shutdown and I had to > forcibly terminate the program by clicking the close button. > I think this is a bug in camel framework. I am using camel 2.11.0. > What is your idea? > > Thanks, > Syed. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/After-camelContext-shutdown-is-any-way-to-exit-the-Java-main-method-tp5735993p5736152.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta