Route JMX attributes not being updated
--------------------------------------

                 Key: CAMEL-1851
                 URL: https://issues.apache.org/activemq/browse/CAMEL-1851
             Project: Apache Camel
          Issue Type: Bug
          Components: camel-core
    Affects Versions: 2.0-M2
            Reporter: Mark White


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


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to