[jboss-user] [JBoss Messaging] - MessageConsumer thread never goes away

chip_schoch do-not-reply at jboss.com
Thu Jan 11 16:52:57 EST 2007


I have a service that listens to and services JMS queues.  I have been starting and stopping it and have been watching the thread count grow.  Through a tedious trial and error session I have determined that the thread that is produced when javax.jms.Session.createConsumer() never goes away.  

I am calling MessageConsumer.close() but the thread stays around.  Even after I undeploy my service the thread that was created by it remains.  I did this by remote debugging my JBoss server using eclipse and looking at the threads.  I even wrote a simple test program that crated a consumer then closed it and I stepped through it watching it create the thread.  When I stepped through the close method it di ot go away.

Has anyone else seen this?  This is a huge show stopper for us, as this won't run like this too long before all the resources are exhausted.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000612#4000612

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000612



More information about the jboss-user mailing list