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

controlbus stats - JMX is disabled, cannot get stats

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.0
    • Fix Version/s: 3.3.0
    • Component/s: jmx
    • Labels:
      None
    • Environment:

      java version "1.8.0_181"
      Java(TM) SE Runtime Environment (build 1.8.0_181-b13)
      Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)

    • Estimated Complexity:
      Unknown

      Description

      I have a Camel CDI project using 3.2 and I trying use controlbus to get stats from some routes using Java DSL:

       

      .toD("controlbus:route?routeId=${exchangeProperty.routesIds[${exchangeProperty.CamelLoopIndex}]}&action=stats");

       

      The starting logs are telling me JMX is enabled

      [ main] DefaultManagementStrategy INFO JMX is enabled

       

      But when I run the route I have an error message saying JMX is dissabled.

      [ XNIO-1 task-1] ControlBusProducer INFO ControlBus task done [stats route mngt-endpoint-stats] with result -> JMX is disabled, cannot get stats

       

        Attachments

          Activity

            People

            • Assignee:
              acosentino Andrea Cosentino
              Reporter:
              emmerson Emmerson
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: