activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ego <erik_gol...@yahoo.fr>
Subject Re: Kind of "consumer faliover"
Date Tue, 29 May 2007 16:59:29 GMT

ok for the queue so it's not possible for Topic consumers ?

Tom Samplonius-2 wrote:
> 
> 
> ----- "ego" <erik_gollot@yahoo.fr> wrote:
>> Hey,
>> 
>> I'm not sure that my problem stands for "consumer failover". I would
>> like to
>> know if it's possible to have a group of consumers, listening the
>> same
>> Topic. Only one of the consumers is allowed to process the same
>> message. The
>> idea is that if one of the consumer die, the other consumers of my
>> "cluster"
>> can always process the new messages.
> 
>   I think you can do this, if you use a queue, instead of a topic, and
> mark the consumer as "exclusive".  Topics are for one-to-many
> communications anyways, so definitely not what you want.
> 
> http://activemq.apache.org/exclusive-consumer.html
> 
> 
> Tom
> 
> 

-- 
View this message in context: http://www.nabble.com/Kind-of-%22consumer-faliover%22-tf3828623s2354.html#a10858167
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message