1 Reply Latest reply on Jun 5, 2009 11:42 AM by ubhole

    Custom JMX  MBeans for the ESB?

    gmotts_gary.motts

      Is it possible to create a custom MBean interface, implementation and an agent class and package within src/main/java to provide JMX controls for custom developed pojos?

       

      I've created 3 cusotm MBean classes and haven't been able to get my JMX agent class to initialize.

       

      I followed the Sun tutorial at http://java.sun.com/developer/technicalArticles/J2SE/jmx.html

       

      Thanks in advance,

       

      -Gary

       

      Edited by: gmotts on Jun 4, 2009 4:38 PM

        • 1. Re: Custom JMX  MBeans for the ESB?
          ubhole
          gmotts wrote:

          Is it possible to create a custom MBean interface, implementation and an agent class and package within src/main/java to provide JMX controls for custom developed pojos?

           

          I've created 3 cusotm MBean classes and haven't been able to get my JMX agent class to initialize.

           

          you can register your custom MBean with Servicemix MBeanServer by getting  handle on Management context and calling registerMBean on it.

           

          Ulhas