activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: Ordering on distributed queues
Date Wed, 29 Nov 2006 16:32:08 GMT
Agreed. Using Mesage Groups can help reduce this issue somewhat as
only 1 consumer is given a group of messages.

On 11/29/06, Hiram Chirino <hiram@hiramchirino.com> wrote:
> Eric, in general yes. order is preserved.  But there are some edge
> cases where it may not like if a client fails and you have multiple
> consumers on a queue.  This do to the fact that all the messages that
> the failed client had will be redelivered to the other client, and the
> redelivered message may be out of order with respect to the message
> already delivered to the other client.
>
> On 11/29/06, ewood <wood@ship.saic.com> wrote:
> >
> > I sa w that, but it says that applies for topics and multiple publishers.  My
> > question is what is the dispatch policy for a single publisher on a
> > distributed queue.
> >
> > Eric
> >
> >
> > Marlon Santos wrote:
> > >
> > > Hi,
> > >
> > > To be sure, just enable the <strictOrderDispatchPolicy/> here's the url
> > > for reference...
> > > http://activemq.org/site/total-ordering.html
> > >
> > >
> > >
> > > ewood wrote:
> > >>
> > >> I am using AMQ version 4.1 with a topology consisting of two embedded
> > >> networked brokers.  I have only a single producer on one broker and a
> > >> single consumer on the other and I am using persistent messaging.
> > >> Question is, is there any gauranteed ordering in this situation?  Can I
> > >> be assured that the messages will arrive at the consumer in exactly the
> > >> same sequence thay are sent, even if there is a timeout/network failure?
> > >> Our testing seems to inidicate that ordering is always preserved, but I
> > >> want to make sure.
> > >>
> > >> Regards,
> > >>
> > >> Eric
> > >>
> > >
> > >
> >
> > --
> > View this message in context: http://www.nabble.com/Ordering-on-distributed-queues-tf2720775.html#a7601886
> > Sent from the ActiveMQ - User mailing list archive at Nabble.com.
> >
> >
>
>
> --
> Regards,
> Hiram
>
> Blog: http://hiramchirino.com
>


-- 

James
-------
http://radio.weblogs.com/0112098/

Mime
View raw message