This content has been marked as final.
Show 1 reply
-
1. Re: How to find HornetQ standalone server status?
jmesnil Jul 26, 2010 5:51 AM (in response to rezaghp)1 of 1 people found this helpfulreza g wrote:
Hi,
Is there a way to find out the status of live/backup HornetQ servers? whether it is live that is online or backup?
If the answer is only a MBean then what is the criteria to test for this health check?
Thanks
Reza
You can use HornetQServerControl MBean for this. its Backup attribute will reflect the runtime status of a server.
E.g. it will return false if a server configured as a backup has been activated.