Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-8531

Make it easy to get the management mbean for a given process by its id

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.16.0
    • Component/s: camel-core, jmx
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      As we primary have the performance stats and whatnot in JMX MBeans that are registered in the mbean server, end users would need to use the clunky JMX API to lookup the mbean for a process id.

      From Java code, you may just want to easily grab the mbean.

      For example:

      ManagedAggregateProcessorMBean mbean = context.getManagedProcessor("myAggregator", ManagedAggregateProcessorMBean.class);
      

      Then you have from java code, all the power of the mbean to get any kind of statistics you want, just like from JMX.

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              davsclaus Claus Ibsen
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: