Are you using Camel ProducerTemplate to send the request to the camel context? If so , you need to stop it first.
BTW, it will be helpful if you can show us what's the process thread do. -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang Weibo: 姜宁willem On Monday, July 29, 2013 at 1:56 AM, SyedBhai wrote: > Sir, > The question here is not about web application or standalone application. > The question is camel is creating some threads. These threads are not > getting terminated at all. > I am having a web application. For every incoming request I create a > thread to process the request. This thread uses camel framework. Because > of camel the thread is not getting terminated. Because internally camel is > creating more threads which keep running ever. > To prove my point I copied that camel code and run it as a standalone > application using main(). And even after main() finishes the program is > still running. > I have thus proved my point that camel is creating some threads which do > not terminate at all. > So I wanted to know if the bug is in camel or the components used by camel > such as cxf, etc. > > Thanks, > Syed. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Is-it-Camel-Bug-tp5736288p5736372.html > Sent from the Camel - Users mailing list archive at Nabble.com > (http://Nabble.com).
