Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.9.1
-
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 { 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(); } }
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.
Attachments
Attachments
Issue Links
- relates to
-
CAMEL-5780 JMX statistics problem when intercept() followed with process()
- Resolved