Details
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