You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "XiaopengLi (Commented) (JIRA)" <ji...@apache.org> on 2012/02/22 10:38:49 UTC
[jira] [Commented] (CAMEL-5027) JMX statistics problem with some
components
[ https://issues.apache.org/jira/browse/CAMEL-5027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13213490#comment-13213490 ]
XiaopengLi commented on CAMEL-5027:
-----------------------------------
For detail, refer to http://jira.talendforge.org/browse/TESB-3905
> JMX statistics problem with some components
> -------------------------------------------
>
> Key: CAMEL-5027
> URL: https://issues.apache.org/jira/browse/CAMEL-5027
> Project: Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 2.8.4
> Reporter: XiaopengLi
> Priority: Minor
> Attachments: Camel-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 {
> from("timer:foo?period=5000").routeId("timer").loadBalance()
> .roundRobin().id("load_balance_1").to("log:one")
> .id("log_one").to("log:two").id("log_two").end();
>
> }
> });
> context.start();
> Thread.sleep(500000);
> context.stop();
> }
>
> }
> {noformat}
> The MBean [org.apache.camel/processors/XXX/load_balancer_1/Attributes/ExchangesTotal] property has no value, therefore no statistics information can be accessed. The same problem exists in Intercept,Log.
--
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