activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Tully <gary.tu...@gmail.com>
Subject Re: Total Message Order of Queues (not topics) durring edge cases(crashes)
Date Fri, 07 Aug 2009 10:40:27 GMT
total ordering is only an issue when there are multiple consumers.
For a single consumer and for exclusive consumers, where there can only be a
single consumer, ordering 'is' guaranteed.

2009/8/6 jerdavis <jerdavis@speakeasy.net>

>
> Thanks for your answer Rob, this is exactly what I was looking for. :)
> Total Ordering seems like such a fundamental thing for a Persistent Queue.
> I'm surprised there hasn't been a solid answer to this question. Is there a
> standard way people get around this?
> Would an Exclusive Consumer guarantee Total Order?
> I would think that a new Exclusive consumer wouldn't be able to consume
> messages until the crashed TCP connection/consumer finally closed and
> released the outstanding messages.
>
> Regards,
> -JD
>
>
>
>
>
>
> rajdavies wrote:
> >
> >
> > On 5 Aug 2009, at 23:13, jerdavis wrote:
> >
> >>
> >> No takers?
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/Total-Message-Order-of-Queues-%28not-topics%29-durring-edge-cases%28crashes%29-tp24705154p24837185.html
> >> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
> >>
> >
> >
> > Total ordering may be violated for consumer crashes with the default
> > prefetch sizes - see
> > http://activemq.apache.org/what-is-the-prefetch-limit-for.html
> >   to reduce this possibility to a single message - set a prefetch size
> > = 0.
> >
> > cheers,
> >
> > Rob
> >
> > Rob Davies
> > I work here: http://fusesource.com
> > My Blog: http://rajdavies.blogspot.com/
> > I'm writing this: http://www.manning.com/snyder/
> >
> >
> >
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Total-Message-Order-of-Queues-%28not-topics%29-durring-edge-cases%28crashes%29-tp24705154p24855824.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>


-- 
http://blog.garytully.com

Open Source Integration
http://fusesource.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message