Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.8.4
-
None
-
Unknown
Description
Here is the test class:
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(); } }
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.