[jboss-user] [JBoss Messaging] - Re: Closing Consumer Causes Hang

clebert.suconic@jboss.com do-not-reply at jboss.com
Fri Sep 8 17:15:12 EDT 2006


You are calling .close inside MessageListener...

And when you call .close, it will be waiting the Messages being processed.

But as you are inside a messageListener, you are in a dead lock. MessageListener still processing while close is waiting messages being finished.

	at org.jboss.jms.client.remoting.MessageCallbackHandler.waitForOnMessageToComplete(MessageCallbackH
  | andler.java:357)
  | 	at org.jboss.jms.client.remoting.MessageCallbackHandler.close(MessageCallbackHandler.java:312)
  | 

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

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



More information about the jboss-user mailing list