[jboss-user] [JBoss Messaging] - Re: OrderingGroup and Transaction Rollback

gaohoward do-not-reply at jboss.com
Tue Jun 9 01:50:35 EDT 2009


https://jira.jboss.org/jira/browse/JBMESSAGING-1643

The reason for the wrong order of delivery:

1. msg A is delivered and commited. then B is delivered to client.
2. consumer close() cause B cancelled back to queue. But it is wrongly removed from the linked list.
3. On next deliver, B cannot be delivered because it is not the first in the ordering group (B still an ordering group message). So C is delivered to client.
4. After C is committed, D is delivered to the client and committed.
5. then B is delivered as the whole ordering group is empty now.

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

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



More information about the jboss-user mailing list