activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From me9999...@wwcw.org>
Subject Re: Dispatch Policy and Message Groups
Date Wed, 27 Sep 2006 18:24:33 GMT


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.


Mime
View raw message