[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Incorporating Remoting http transport into Messaging

ovidiu.feodorov@jboss.com do-not-reply at jboss.com
Wed Sep 27 19:43:26 EDT 2006


If a session executor's thread is currently executing onMessage() and close() is called on the consumer from a different thread, the closing thread is put on wait until the listener code execution completes.

Take a look at MessasgeCallbackHandler.waitForOnMessageToComplete() (the method body, and also, its invocation point)



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

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



More information about the jboss-dev-forums mailing list