[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Configure a queue to be ordering aware
gaohoward
do-not-reply at jboss.com
Mon Feb 2 09:40:20 EST 2009
Hi Tim,
So far what I've done with message ordering in JBM 1.4 is client controlled ordering. That means the producer can define that messages that are sent by me have to be received in the strict order of me sending them. The producer does this not by timestamping the messages. Rather it gives each message (in each ordering group) a sequence number. The target queue will order the messages by their sequence numbers, not timestamps.
This doesn't cover the case where user wants messages (whereever they come from) to be ordered at the server (like a gathering point). In that case the 'hit time' make sense.
I agree we should be consistent between 1.4 and 2.0. But we also need to make sure this is what the users would like to have.
Another question I'm thinking is, How the time and order is determined when messages are being sent to a distributed queue? If there are two nodes (diff machines), messages can hit either of the nodes and each node (machine) has its own timing.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4206252#4206252
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4206252
More information about the jboss-dev-forums
mailing list