Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0-M2, 2.0-M3
-
None
Description
Some routes are not getting instrumented using JMX and we get the following WARN for those on startup;
InstrumentationLifecycleStrategy: Route has not been instrumented for endpoint: ...
It turns out that its only those routes that have an onException handler as the first processor in the route, e.g.
<route id="per-msg-route" errorHandlerRef="RouteErrorHandler">
<from uri="jms:MSG_IN"/>
<onException>
<exception>can.retry.Exception</exception>
<redeliveryPolicy ref="UnlimitedRedeliveryPolicyConfig"/>
<handled><constant>true</constant></handled>
</onException>
<bean ref="Formatter" method="formatInput"/>
...8<...
More info and proposed fix at http://www.nabble.com/Routes-JMX-attributes-not-updated-in-2.0-M2-td24631265.html#a24639433