Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 88371 invoked from network); 30 Aug 2010 04:03:23 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 30 Aug 2010 04:03:23 -0000 Received: (qmail 13983 invoked by uid 500); 30 Aug 2010 04:03:23 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 13848 invoked by uid 500); 30 Aug 2010 04:03:20 -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 13831 invoked by uid 500); 30 Aug 2010 04:03:19 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 13828 invoked by uid 99); 30 Aug 2010 04:03:19 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Aug 2010 04:03:19 +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; Mon, 30 Aug 2010 04:03:02 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o7U42eFt002886 for ; Mon, 30 Aug 2010 04:02:40 GMT Message-ID: <4557800.2691283140960580.JavaMail.jira@thor> Date: Mon, 30 Aug 2010 00:02:40 -0400 (EDT) From: "Claus Ibsen (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Resolved: (CAMEL-3087) the route name exposed in JMX uses not the route id in some situations In-Reply-To: <29768753.2631283111020370.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-3087?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen resolved CAMEL-3087. -------------------------------- Assignee: Claus Ibsen Fix Version/s: 2.5.0 Resolution: Working as Designed You should use {{routeId}} to assign the id of the route > the route name exposed in JMX uses not the route id in some situations > ---------------------------------------------------------------------- > > Key: CAMEL-3087 > URL: https://issues.apache.org/activemq/browse/CAMEL-3087 > Project: Apache Camel > Issue Type: Bug > Components: jmx > Affects Versions: 2.2.0 > Environment: apache-servicemix-4.2.0-fuse-02-00 which uses camel-2.2.0-fuse-02-00 > Reporter: Christian Mueller > Assignee: Claus Ibsen > Fix For: 2.5.0 > > > All of our routes are defined in the following way: > {code:java} > from("direct:start").id(MyRoute.class.getName() + ".main") > ... > .to("mock:result"); > {code} > but in some situations, the route name exposed in JMX is "routeX" instead of "com.company.MyRoute.main" -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.