I don't think so, there can also be times when JMX is up but that bean is
still not registered. You should be catching this in your app.
Regards
--
Dejan Bosanac - http://twitter.com/dejanb
-
The experts in open source integration and messaging - http://fusesource.com
ActiveMQ in
When broker is starting up with existing JVM (non-ActiveMQ created)
MBeanServer, and isSlave gets called by a scheduled job, I get
InstanceNotFoundException on the client side. Nothing declares this checked
exception will get thrown so compiler won't let me catch it. Once ActiveMQ
is fully up, same
Great, thank you very much Dejan!
This property is not listed on the ActiveMQ JMX Reference page:
http://activemq.apache.org/jmx.html#JMX-ActiveMQMBeansReference
Found more info in the source and contributed fix for javadoc typo ( see
https://issues.apache.org/jira/browse/AMQ-3652 ). FOSS rulz!
It does, and you have "Slave" JMX attribute on broker object.
Regards
--
Dejan Bosanac - http://twitter.com/dejanb
-
The experts in open source integration and messaging - http://fusesource.com
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net
O