You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2016/04/22 16:11:12 UTC
[jira] [Commented] (CAMEL-9903) DumpRouteStatsAsXml do not work
when jmx domain is customized
[ https://issues.apache.org/jira/browse/CAMEL-9903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15253999#comment-15253999 ]
Claus Ibsen commented on CAMEL-9903:
------------------------------------
Thanks we love contributions
http://camel.apache.org/contributing
You would need to find "org.apache.camel:" used in jmx names, and then replace that with the domain name configured on the management strategy.
> 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
> Fix For: 2.17.1, 2.18.0
>
>
> 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)