Terral Guillaume created CAMEL-9903:
---------------------------------------
Summary: DumpRouteStatsAsXml do not work when jmx domain is
customized
Key: CAMEL-9903
URL: https://issues.apache.org/jira/browse/CAMEL-9903
Project: Camel
Issue Type: Bug
Components: camel-core
Affects Versions: 2.17.0
Reporter: Terral Guillaume
According to the documentation ([Here|http://camel.apache.org/camel-jmx.html])
we can customize the jmx domain name.
When the domain name is different from org.apache.camel all the
dumpRouteStatsAsXml are empty and does not work anymore.
After some investigation it is because the MBean operation does not take into
account the runtime domain name and only use "org.apache.camel"
([here|https://github.com/apache/camel/blob/master/camel-core/src/main/java/org/apache/camel/management/mbean/ManagedCamelContext.java#L489])
I've done a unit test to reproduce and tried to do a fix,
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)