You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by farhad <me...@farhad.eu> on 2012/03/14 17:16:22 UTC
RemoteJMXBrokerFacade with failover
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.