9 Replies Latest reply on Sep 10, 2009 11:05 AM by Ross Nicholson

    Declare a dependency on an MC bean

    Ross Nicholson Apprentice

      I'm trying to declare a dependency on the HornetQServer MC bean.

      I took the name of the bean from the JMX Console to create the depends clause but it does not work:

      @Depends(value={"jboss.deployment:id=HornetQServer,type=Component"})
      


      This is the only reference I can find to HornetQServer in the JMX Console.

      The HornetQ forum led me here, this was my original post http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4254388#4254388

      Could someone shed some light on this for me please?

      Cheers,

      Ross