[ https://issues.apache.org/activemq/browse/CAMEL-3288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=63204#action_63204 ]
Claus Ibsen commented on CAMEL-3288: ------------------------------------ We should offer an option on JMXAgent to control if an uid is to be appended on the mbean name in JMX (default enabled) Wonder if we should offer a pattern syntax so people can adjust it easily {code} ${bundleId}-${uid}-${camelId} {code} Then in osgi environments its using the bundle id as well. And for non osgi its just the uid. Then you can decide if it should be prefix / postfix. Which affects the mbean overview as its sorted by A-Z. > Allow option to let end user set a custom naming strategy for JMX naming > CamelContext > ------------------------------------------------------------------------------------- > > Key: CAMEL-3288 > URL: https://issues.apache.org/activemq/browse/CAMEL-3288 > Project: Apache Camel > Issue Type: New Feature > Components: camel-core, jmx > Affects Versions: 2.4.0 > Reporter: Claus Ibsen > Assignee: Claus Ibsen > Priority: Minor > Fix For: 2.6.0 > > > Look at NMR which got some code for picking an unique name > http://svn.apache.org/viewvc/servicemix/smx4/nmr/trunk/nmr/management/ > Consider moving the code to commonsman for reuse > And at Camel add some flag to let end user have Camel append the bundle id > for the CamelContext ObjectName in JMX so its always unique. > And that you avoid Camel to fail starting a bundle if it has the same > camelcontext id as an existing. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.