Re: activemq in a 2 node cluster

2014-07-21 Thread Sanjit Mohanty
Hi, Could anyone help? _Sanjit On Sun, Jul 20, 2014 at 8:26 PM, Sanjit Mohanty wrote: > > Hi JB, > I'm already using network of brokers with failover URI. > > Assuming, I've 2 nodes in my cluster with IPs - ip1 & ip2 respectively, > then the broker URL used by me is > >failover

Re: activemq in a 2 node cluster

2014-07-20 Thread Sanjit Mohanty
Hi JB, I'm already using network of brokers with failover URI. Assuming, I've 2 nodes in my cluster with IPs - ip1 & ip2 respectively, then the broker URL used by me is failover:(tcp://ip1:61716, tcp://ip2:61716)?initialReconnectDelay=100 AFAIK, conduit subscription is by default s

Re: activemq in a 2 node cluster

2014-07-19 Thread Jean-Baptiste Onofré
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: H

Re: activemq in a 2 node cluster

2014-07-19 Thread Sanjit Mohanty
Could anyone help me here? _Sanjit On Sat, Jul 19, 2014 at 2:55 AM, 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 >

activemq in a 2 node cluster

2014-07-18 Thread Sanjit Mohanty
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