[jboss-user] [JBoss Messaging] - Re: Redelivery order

timfox do-not-reply at jboss.com
Tue Jun 10 19:04:44 EDT 2008


If you rollback a transaction in which you have consumed three messages A, B, C, then the order will indeed be preserved on rollback with JBM.

However if you rollback each message in it's *own* transaction, then I don't think it's physically possible to guarantee any order.

Rollback just puts the messages back on the front of the queue. So it's the order is always going to depend on timing.

BTW the JMS spec does not require order of delivery to be preserved after rollback anyway.

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

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



More information about the jboss-user mailing list