ManagementNamingStrategy - Should normalize ObjectName to avoid using illegal characters ----------------------------------------------------------------------------------------
Key: CAMEL-3760 URL: https://issues.apache.org/jira/browse/CAMEL-3760 Project: Camel Issue Type: Bug Components: camel-core, jmx Reporter: Claus Ibsen Assignee: Claus Ibsen Priority: Minor Fix For: 2.7.0 For example when using JMS in the loanbroaker example. There us a colon in the JMS queue name which is invalid char in JMX. 2011-03-06 08:26:55,859 [main ] WARN ManagedManagementStrategy - Cannot check whether the managed object is registered. This exception will be ignored. javax.management.MalformedObjectNameException: Could not create ObjectName from: org.apache.camel:context=vesta.apache.org/camel-1,type=threadpools,name=JmsReplyManagerTimeoutChecker[queue2:parallelLoanRequestQueue]. Reason: javax.management.MalformedObjectNameException: Invalid character ':' in value part of property at org.apache.camel.management.DefaultManagementNamingStrategy.createObjectName(DefaultManagementNamingStrategy.java:315)[camel-core-2.7-SNAPSHOT.jar:2.7-SNAPSHOT] -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira