Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-1851

Route JMX attributes not being updated

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0-M2, 2.0-M3
    • 2.0.0
    • camel-core
    • 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

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            msjwhite Mark White
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: