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: Dispatch Policy and Message Groups
Date Thu, 28 Sep 2006 09:44:37 GMT
I'm still a little confused as to what you really need. Could you
start out explaining exactly what is is you're after? e.g. why isn't
Message Groups enough - why do you need to pick explicitly which
consumer uses which message group?

On 9/27/06, me9999 <m@wwcw.org> wrote:
>
>
> I can't use selectors because the message senders do not know which message
> consumer is handling their message at any specific time.  I'm really trying
> to implement failover.  If my main consumer goes down, I want to failover to
> specific consumers in order.
>
> Thanks again.
>
>
> James.Strachan wrote:
> >
> > On 9/27/06, me9999 <m@wwcw.org> wrote:
> >>
> >>
> >> Thank you for your reply.  I would like to clarify something.  If I just
> >> have consumers and no message groups can I setup a dispatch policy such
> >> that
> >> every message goes to one of the consumers unless it is down, then every
> >> message goes to another one I specifiy in the dispatch policy, and so on?
> >
> > No - we just have exclusive queues...
> >
> > http://incubator.apache.org/activemq/exclusive-consumer.html
> >
> > which acts like all the messages have the same (or no) message group
> > header.
> >
> > If you want control over what consumers see what messages, maybe you
> > need to use selectors?
> >
> > --
> >
> > James
> > -------
> > http://radio.weblogs.com/0112098/
> >
> >
>
> --
> View this message in context: http://www.nabble.com/Dispatch-Policy-and-Message-Groups-tf2342390.html#a6532492
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>


-- 

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

Mime
View raw message