activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From farhad ...@farhad.eu>
Subject RemoteJMXBrokerFacade with failover
Date Wed, 14 Mar 2012 16:16:22 GMT
Hi guys,
I have a shell jmx client which uses the RemoteJMXBrokerFacade to connect to
a (jdbc) master-slave pair of activemq brokers. The application runs with
the following two properties:
-Dwebconsole.jmx.url=service:jmx:rmi://host1:11098/jndi/rmi://host1:11099/jmxrmi,service:jmx:rmi://host2:11098/jndi/rmi://host2:11099/jmxrmi

-Dwebconsole.jms.url=failover:(tcp://host1:61616,tcp://host2:61616)

The problem is that the broker-facade connects always to host1 even when it
is slave. It connects only to host2 if host1 is down (no broker running on
that). 
On the countrary the connection-factory returned by the broker-facade is
always against the master, which is correct.

I wonder if anyone else have experienced the same behavior? 

Environment:
ActiveMQ broker 5.5 running on linux

Bests,
-Farhad D.


--
View this message in context: http://activemq.2283324.n4.nabble.com/RemoteJMXBrokerFacade-with-failover-tp4472313p4472313.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message