1 Reply Latest reply on Jul 26, 2010 5:51 AM by jmesnil

    How to find HornetQ standalone server status?

    rezaghp

      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

        • 1. Re: How to find HornetQ standalone server status?
          jmesnil

          reza 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.

          1 of 1 people found this helpful