"gaohoward" wrote : 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.
|
Ok, well that's not how we discussed implementing it before.
The idea was supposed to be that the client sets the ordering group header (it's just
a constant string) and the server makes sure messages from that ordering group are
delivered in strict order. There should be no sequence on the client side.
In any case, a sequence on the client side doesn't work, since you could have many
different producers sending to the same ordering group (e.g. ordering group
"europe_orders") and they still need to be processed in strict order, but
clearly you can't share the same sequence here.
Looks like the design needs a rethink.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4206258#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...