activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré ...@nanthrax.net>
Subject Re: activemq in a 2 node cluster
Date Sat, 19 Jul 2014 15:46:38 GMT
Hi Sanjit,

if you use a network of brokers, you can use failover URI on the network 
connector, if you enable conduit subscription, the message will be sent 
to one broker, and only fallback to the second one if the first one is down.

Regards
JB

On 07/18/2014 11:25 PM, Sanjit Mohanty wrote:
> Hi,
>     I've topic message listeners running in both the nodes of a cluster.
> Both of them are listening onto the same topic.
>
> But my requirement is I want only one of the message listener should
> consume the message & only when it's node goes down for some reason, only
> then the other message consumer takes over & continue processing the
> messages from the topic.
>
> How can I achieve this in activemq?  I'm using the activemq version 5.7.0
>
> Thanks in advance,
> Sanjit
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Mime
View raw message