[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Ordering Group -- Transaction Scenario Analysis (Typical
timfox
do-not-reply at jboss.com
Wed Oct 22 08:32:00 EDT 2008
"gaohoward" wrote :
| Message grouping guarantee all the messages in a group goes to one consumer.
| But ordering group is different, it guarantees messages being sent out one by one, it doesn't really care who receives the message.
|
|
[Just discussed with Howard on IRC]
I think they're very closely related.
With message grouping, then all messages with the same group_id go to the same consumer as long as the consumer is not closed. If that consumer is closed the server will choose another consumer.
So it seems to me that message groups already provide ordering groups functionality.
The slight difference with message groups is all messages for that group go to the same consumer as long as that consumer is not closed.
Where, with the ordering groups, you would only need to send messages to the same consumer as long as there are no unacked for that consumer, so you could end up round robining.
Although in practice, the latter would not be strictly necessary to fulfil the requirements.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4183831#4183831
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4183831
More information about the jboss-dev-forums
mailing list