Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 61809 invoked from network); 9 Nov 2010 16:37:54 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 9 Nov 2010 16:37:54 -0000 Received: (qmail 83224 invoked by uid 500); 9 Nov 2010 16:38:26 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 83135 invoked by uid 500); 9 Nov 2010 16:38:25 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 83127 invoked by uid 500); 9 Nov 2010 16:38:24 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 83124 invoked by uid 99); 9 Nov 2010 16:38:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Nov 2010 16:38:24 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Nov 2010 16:38:22 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oA9Gc0QN019475 for ; Tue, 9 Nov 2010 16:38:00 GMT Message-ID: <15519705.13851289320680734.JavaMail.jira@thor> Date: Tue, 9 Nov 2010 11:38:00 -0500 (EST) From: "Claus Ibsen (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Commented: (CAMEL-3288) Allow option to let end user set a custom naming strategy for JMX naming CamelContext In-Reply-To: <8809351.1171288250400137.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org [ 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.