[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Semantic on Session.stop and MessageHandler
timfox
do-not-reply at jboss.com
Wed Mar 18 03:14:22 EDT 2009
Yes, once session.stop() has returned it should be guaranteed no more messages will be received on a handler until it's started again.
However we shouldn't wait for all messages in the buffer to be processed - this might take a long time. We should only wait for the currently executing one to complete.
The same behaviour should be on close() and setMessageHandler(null).
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4218893#4218893
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4218893
More information about the jboss-dev-forums
mailing list