I'm trying to find a way to tell whether a broker is master or not on version
5.1. I know that 5.2 has the advisory topic for when a broker becomes
master, but I can't use that just now. I do have access to the
BrokerService, though, which has the isSlave() method; however I'm using
JDBC master/slave, and this method only checks the state of the
BrokerService's MasterConnector.

How do I tell whether a broker is a master or not when using JDBC
master/slave?
-- 
View this message in context: 
http://www.nabble.com/BrokerService.isSlave%28%29-for-pure-master-slave-only--tp21339542p21339542.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to