"ataylor" wrote : anonymous wrote : What's the advantage in allowing
multiple consumers? If you're ordering, then by definition, you will need to serialise
consumption
|
| I was just taking this from the comments on the Jira, 'In order to guarantee
strict ordering, even on rollback or in the presence of multiple consumers or with xa
transactions, the queue needs to ensure that no more than one message with the value of
ordering group is being delivered at any one time.'
|
I still don't see the advantage of multiple consumers.
anonymous wrote :
| So you send 10 messages, 5 for group A, with seq 1 to 5, and 5 for group B again with
seq 1 to 5. A consumer consumes message group A seq 1 but does not acknowledge, the next
message in group A with seq 2 can't be delivered but message group B seq 1 can, This
gives you strict ordering within the defined group.
|
Yes, but the current message grouping also provides that same ordering guarantee, does it
not?
anonymous wrote :
| The producer can specify on send the sequence number of a message to specify its
delivery order.
I'm not sure what that means. Again, does not message groups preserve delivery order.
I'm just trying to understand here how message grouping does not accomplish the goal.
The goal here is to provide strict ordering of delivery of messages, even on rollback and
with multiple consumers.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193875#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...