[ 
https://issues.apache.org/jira/browse/CAMEL-5780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Meifang Shen updated CAMEL-5780:
--------------------------------

    Attachment: ProcessorAfterIntercept.jpg
    
> 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

Reply via email to