[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Getting a list of all ClientConsumers (http://jira.jboss
sergeypk
do-not-reply at jboss.com
Fri Jun 29 11:50:14 EDT 2007
I have got it working locally but I will need to add some more tests to make sure it's implemented correctly. I had to collect all those lastDeliveryIDs into a map on the server side and send them back to the client in a ConnectionStopResponse packet that I created.
Do we really have to wait for the delivery lastDeliveryID to come in this case? Wouldn't it be possible for ClientConsumer to still accept messages as usual when stopped but not deliver them to receive() and onMessage()? Then Connection.stop() could tell the server side to stop, wait until every ClientConsumer finishes any onMessage calls it has already started and return afterwards?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059236#4059236
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059236
More information about the jboss-dev-forums
mailing list