[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: JBMESSAGING-1006 - Throwing exception when failover fail

timfox do-not-reply at jboss.com
Sat Jun 30 13:02:41 EDT 2007


I'll re-iterate what I said before.

The only things that execute in a transactional context are sending and ack of messages. These are the only things for which we give a transactional guarantee.

Cancelling and recovering don't need to be atomic.

Why?

Imagine if the cancel or recovery of several message failed half way. The session would eventually get closed and the remaining messages would end up back on the queue. No messages would be lost and we wouldn't have broken any of our transactional promises.



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

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



More information about the jboss-dev-forums mailing list