camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAMEL-3760) ManagementNamingStrategy - Should normalize ObjectName to avoid using illegal characters
Date Sun, 06 Mar 2011 10:03:45 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-3760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13003123#comment-13003123
] 

Claus Ibsen commented on CAMEL-3760:
------------------------------------

We just needed to quote the thread pool name which wasn't done.

> 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

        

Mime
View raw message