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 (Updated) (JIRA)" <ji...@apache.org> on 2012/02/22 10:28:49 UTC
[jira] [Updated] (CAMEL-5027) JMX statistics problem with some
components
[ https://issues.apache.org/jira/browse/CAMEL-5027?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
XiaopengLi updated CAMEL-5027:
------------------------------
Description:
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.
Affects Version/s: 2.8.4
> 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
>
> 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