Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 81CD0D177 for ; Fri, 9 Nov 2012 08:58:15 +0000 (UTC) Received: (qmail 99983 invoked by uid 500); 9 Nov 2012 08:58:15 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 99803 invoked by uid 500); 9 Nov 2012 08:58:13 -0000 Mailing-List: contact issues-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 issues@camel.apache.org Received: (qmail 99772 invoked by uid 99); 9 Nov 2012 08:58:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Nov 2012 08:58:12 +0000 Date: Fri, 9 Nov 2012 08:58:12 +0000 (UTC) From: "Meifang Shen (JIRA)" To: issues@camel.apache.org Message-ID: <625047241.90808.1352451492605.JavaMail.jiratomcat@arcas> In-Reply-To: <54255027.90806.1352451492353.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (CAMEL-5780) JMX statistics problem when intercept() followed with process() MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-5780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Meifang Shen updated CAMEL-5780: -------------------------------- Description: Here is the test class: {noformat} intercept().id("Intercept_1").process(new Processor() { public void process(Exchange exchange) throws Exception { System.out.println("Intercept occurs"); } }).id("Intercept_Processor"); from("timer:foo?period=1000&repeatCount=2").id("from_1").process(new Processor() { public void process(Exchange exchange) throws Exception { System.out.println("normal route processor"); } }).id("route_Processor1"); from("timer:foo?period=1000&repeatCount=2").id("from_2").process(new Processor() { public void process(Exchange exchange) throws Exception { System.out.println("normal route processor"); } }).id("route_Processor2"); {noformat} The MBean "org.apache.camel/processors/***/" has no processor "Intercept_Processor", only has other two. was: Here is the test class: {noformat} intercept().id("Intercept_1").process(new Processor() { public void process(Exchange exchange) throws Exception { System.out.println("Intercept occurs"); } }).id("Intercept_Processor"); from("timer:foo?period=1000&repeatCount=2").id("from_1").process(new Processor() { public void process(Exchange exchange) throws Exception { System.out.println("normal route processor"); } }).id("route_Processor1"); from("timer:foo?period=1000&repeatCount=2").id("from_2").process(new Processor() { public void process(Exchange exchange) throws Exception { System.out.println("normal route processor"); } }).id("route_Processor2"); {noformat} The MBean [org.apache.camel/processors/***/] has no processor "Intercept_Processor", only has other two. > JMX statistics problem when intercept() followed with process() > --------------------------------------------------------------- > > Key: CAMEL-5780 > URL: https://issues.apache.org/jira/browse/CAMEL-5780 > Project: Camel > Issue Type: Bug > Components: camel-core, jmx > Affects Versions: 2.10.2 > Reporter: Meifang Shen > Priority: Minor > Attachments: ProcessorAfterIntercept.jpg > > > Here is the test class: > {noformat} > intercept().id("Intercept_1").process(new Processor() { > > public void process(Exchange exchange) throws Exception { > System.out.println("Intercept occurs"); > } > }).id("Intercept_Processor"); > from("timer:foo?period=1000&repeatCount=2").id("from_1").process(new Processor() { > > public void process(Exchange exchange) throws Exception { > System.out.println("normal route processor"); > } > }).id("route_Processor1"); > from("timer:foo?period=1000&repeatCount=2").id("from_2").process(new Processor() { > > public void process(Exchange exchange) throws Exception { > System.out.println("normal route processor"); > } > }).id("route_Processor2"); > {noformat} > The MBean "org.apache.camel/processors/***/" has no processor "Intercept_Processor", only has other two. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira