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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.16.0
    • camel-core, jmx
    • None
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment