[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Asynchronous acknowledgements

adrian@jboss.org do-not-reply at jboss.com
Wed Jul 12 12:03:16 EDT 2006


You must have some notion of NACKs, otherwise how do you handle 
all the cases that need redeliveries?

e.g. An error during a message listener

e.g.2. Closing a CLIENT_ACKNOWLEDGE session without
acknowledging the messages

e.g.3. closing the receiver there is a race condition
on the server delivering a message

receiver -> I want a message
server -> there is none, just wait
sender -> send message
server -> queue delivery of message
receiver -> close()
delivery -> Oh! The receiver has vanished -> NACK!

etc.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957409#3957409

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957409



More information about the jboss-dev-forums mailing list