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

controlbus stats - JMX is disabled, cannot get stats

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.2.0
    • 3.3.0
    • jmx
    • None
    • 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)

    • 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

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

            Dates

              Created:
              Updated:
              Resolved: