On Mon, Jul 7, 2008 at 7:10 AM, aftab gardan <[EMAIL PROTECTED]> wrote: > > hi every body, > i have a problem with message ordering. > > I create message A and Message B. > when consumer catch message A, message A-2 created. > i want to run message A-2 before message B. > > all message in same queue
Have you looked at using the ActiveMQ total ordering feature?: http://activemq.apache.org/total-ordering.html Bruce -- perl -e 'print unpack("u30","D0G)[EMAIL PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*" );' Apache ActiveMQ - http://activemq.org/ Apache Camel - http://activemq.org/camel/ Apache ServiceMix - http://servicemix.org/ Blog: http://bruceblog.org/