0 Replies Latest reply on Oct 8, 2013 12:04 AM by veenaonnet

    In Jboss7.1.1-final clustered environment how to bounce HornetQ mbeans on failover. Is it actually required?

    veenaonnet Newbie


      Hi,


      In Jboss4, in a clustered environment, on failover, we used to bounce(Stop followed by Start) queue mbeans on newly Active node. It was done using "mejbStart", "mejbStop" methods.

      After takeover/failover, cached JBoss Messaging mbeans become stale; so bounced them after services started

       

      mbean example to bounce:

      "ServiceModule=destinations-service.xml,j2eeType=MBean,"

      "name=jboss.messaging.destination%3aservice%3dQueue%2cname%3dMetaDataJobs",


      However in jboss7 as HornetQ is used this is not relevant. I could find mbean for every queue.

      jboss.as:subsystem=messaging,hornetq-server=default,jms-queue=

       

      Is it required to call pause and resume method on those mbeans? Or can safely get rid of the old code and HornetQ will take care of failover as clustering is already enabled in standalone-full-ha.xml?

       

      Regards,

      Veena