Search code examples
javaapache-cameljmxmbeans

Are Apache Camel Mbeans extendable?


I would like to add few more attributes to the existent JMX Apache Camel route attributes. Is there a way of doing this either using Spring or Java code?


Solution

  • And to answer your question. No the routes mbean are not extensible.

    Though if you build custom components you can annotate your component with JMX annotations to have JMX operations and attributes enlisted out of the box. But this is only for components, and not the standard route, camelcontext, mbeans etc.

    See details at: http://camel.apache.org/camel-jmx.html