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

DumpRouteStatsAsXml do not work when jmx domain is customized

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.17.0
    • Fix Version/s: 2.17.1, 2.18.0
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      According to the documentation (Here) we can customize the jmx domain name.

      When the domain name is different from org.apache.camel all the dumpRouteStatsAsXml are empty and does not work anymore.

      After some investigation it is because the MBean operation does not take into account the runtime domain name and only use "org.apache.camel" (here)

      I've done a unit test to reproduce and tried to do a fix,

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              gterral Terral Guillaume
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: