camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Meifang Shen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-5780) JMX statistics problem when intercept() followed with process()
Date Fri, 09 Nov 2012 08:58:12 GMT

     [ 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

Mime
View raw message