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

Commands doesn't support a custom JMX Agent

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.10.4
    • Fix Version/s: 2.10.5, 2.11.1
    • Component/s: karaf
    • Labels:
      None
    • Patch Info:
      Patch Available
    • Estimated Complexity:
      Novice

      Description

      Hi,

      the latest implementation used the fixed default domain which doesn't work if you specify a custom agent. I removed the fixed default domain name and used the method ManagementAgent.getMBeanObjectDomainName() instead.

      In addition I added the attribute InflightExchanges to the route-info command because I really missed it. Would be great if the patch could be integrated into 2.12.

      Cheers,

      Michael

        Attachments

        1. route.xml
          1 kB
          Michael Prieß
        2. agent_bug.diff
          9 kB
          Michael Prieß

          Activity

            People

            • Assignee:
              njiang Willem Jiang
              Reporter:
              mpriess Michael Prieß
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified