You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Andrea Cosentino (Jira)" <ji...@apache.org> on 2020/04/18 19:08:00 UTC

[jira] [Assigned] (CAMEL-14930) controlbus stats - JMX is disabled, cannot get stats

     [ https://issues.apache.org/jira/browse/CAMEL-14930?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrea Cosentino reassigned CAMEL-14930:
----------------------------------------

    Assignee: Andrea Cosentino

> controlbus stats - JMX is disabled, cannot get stats
> ----------------------------------------------------
>
>                 Key: CAMEL-14930
>                 URL: https://issues.apache.org/jira/browse/CAMEL-14930
>             Project: Camel
>          Issue Type: Bug
>          Components: jmx
>    Affects Versions: 3.2.0
>         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)
>            Reporter: Emmerson
>            Assignee: Andrea Cosentino
>            Priority: Major
>
> I have a Camel CDI project using 3.2 and I trying use controlbus to get stats from some routes using Java DSL:
>  
> {code:java}
> .toD("controlbus:route?routeId=${exchangeProperty.routesIds[${exchangeProperty.CamelLoopIndex}]}&action=stats");{code}
>  
> The starting logs are telling me JMX is enabled
> {code:java}
> [ main] DefaultManagementStrategy INFO JMX is enabled{code}
>  
> But when I run the route I have an error message saying JMX is dissabled.
> {code:java}
> [ XNIO-1 task-1] ControlBusProducer INFO ControlBus task done [stats route mngt-endpoint-stats] with result -> JMX is disabled, cannot get stats{code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)