You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by James Strachan <ja...@gmail.com> on 2007/06/07 13:07:15 UTC

Re: Kind of "consumer faliover"

On 5/30/07, ego <er...@yahoo.fr> wrote:
>
> You're probably true. So here is my 'real' problem.
>
> I need a producer that publish let's say an event E1. I have 3 different
> consumers, each doing a specific task with the event E1. For each consumer,
> I need to find a "backup" solution if the consumer fails, i.e. to
> automatically "switch" to a backup consumer so that no event is lost. The
> backup consumer must act as if it were the master consumer; something like a
> durable subscriber, but a subscriber that can automatically restart on
> another machine with the same "identity".
>
> No sure it's clear..............

Sounds like you want Virtual Topics...

http://activemq.apache.org/virtual-destinations.html

each logical consumer gets its own queue so you can have backup
consumers, load balancing etc.

-- 
James
-------
http://macstrac.blogspot.com/

Re: Kind of "consumer faliover"

Posted by James Strachan <ja...@gmail.com>.
On 6/7/07, ego <er...@yahoo.fr> wrote:
>
> Yes ! It's exactly what I need !!
> Thank you >----(^_^)----<

You're most welcome :)

James

>
> James.Strachan wrote:
> >
> > On 5/30/07, ego <er...@yahoo.fr> wrote:
> >>
> >> You're probably true. So here is my 'real' problem.
> >>
> >> I need a producer that publish let's say an event E1. I have 3 different
> >> consumers, each doing a specific task with the event E1. For each
> >> consumer,
> >> I need to find a "backup" solution if the consumer fails, i.e. to
> >> automatically "switch" to a backup consumer so that no event is lost. The
> >> backup consumer must act as if it were the master consumer; something
> >> like a
> >> durable subscriber, but a subscriber that can automatically restart on
> >> another machine with the same "identity".
> >>
> >> No sure it's clear..............
> >
> > Sounds like you want Virtual Topics...
> >
> > http://activemq.apache.org/virtual-destinations.html
> >
> > each logical consumer gets its own queue so you can have backup
> > consumers, load balancing etc.
> >
> > --
> > James
> > -------
> > http://macstrac.blogspot.com/
> >
> >
>
> --
> View this message in context: http://www.nabble.com/Kind-of-%22consumer-faliover%22-tf3828623s2354.html#a11012353
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>


-- 
James
-------
http://macstrac.blogspot.com/

Re: Kind of "consumer faliover"

Posted by ego <er...@yahoo.fr>.
Yes ! It's exactly what I need !!
Thank you >----(^_^)----<

James.Strachan wrote:
> 
> On 5/30/07, ego <er...@yahoo.fr> wrote:
>>
>> You're probably true. So here is my 'real' problem.
>>
>> I need a producer that publish let's say an event E1. I have 3 different
>> consumers, each doing a specific task with the event E1. For each
>> consumer,
>> I need to find a "backup" solution if the consumer fails, i.e. to
>> automatically "switch" to a backup consumer so that no event is lost. The
>> backup consumer must act as if it were the master consumer; something
>> like a
>> durable subscriber, but a subscriber that can automatically restart on
>> another machine with the same "identity".
>>
>> No sure it's clear..............
> 
> Sounds like you want Virtual Topics...
> 
> http://activemq.apache.org/virtual-destinations.html
> 
> each logical consumer gets its own queue so you can have backup
> consumers, load balancing etc.
> 
> -- 
> James
> -------
> http://macstrac.blogspot.com/
> 
> 

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