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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...