"clebert.suconic(a)jboss.com" wrote :
| The consumer is going to be recreated the same way the connection on the previous
example. (creating a new consumer / replacing the IDs on the old objects).
|
| On that case, the new server will think it's a new client connecting and it will
resend non committed messages from a durable subscription. (So I hope).
|
| On that case, I'm considering to ignore message previously sent, and on the list
of CurrentTransaction.ACKs(). I just want to know if this is everybody's expected
behavior.
I don't see why anything would be received twice (apart from non persistent messages
since we lose the acks for them but that's fine)
As long as you make sure you send the list of ids for the unacked peristent messages and
recreate the delivery list on the server you should be fine, before any message delivery
occurs then you should be fine.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3978890#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...