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