camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "XiaopengLi (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-5066) JMX statistics problem with intercept()
Date Thu, 08 Mar 2012 06:43:02 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-5066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13225040#comment-13225040
] 

XiaopengLi commented on CAMEL-5066:
-----------------------------------

Related talend JIRA issue: http://jira.talendforge.org/browse/TESB-5142
                
> JMX statistics problem with intercept()
> ---------------------------------------
>
>                 Key: CAMEL-5066
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5066
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.9.1
>            Reporter: XiaopengLi
>         Attachments: intercept-statistics-bug.jpg
>
>
> Here is the test class:
> {noformat}
> public class TestStatistics {
>  
>     public static void main(String[] args) throws Exception {
>        DefaultCamelContext context = new DefaultCamelContext();
>        context.addRoutes(new RouteBuilder() {
>  
>            @Override
>            public void configure() throws Exception {
>               	intercept().to("log:intercept");
> 		from("timer://myTimer?period=2000").setBody()
> 				.simple("Current time is ${header.firedTime}").to("log:out");
>  
>            }
>        });
>        context.start();
>        Thread.sleep(500000);
>        context.stop();
>     }
> }
> {noformat}
> The MBean [org.apache.camel/processors/XXX/to2/Attributes/ExchangesTotal] property has
no value, therefore no statistics information can be accessed.
> I used 2.9.2-SNAPSHOT.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message