Uploaded image for project: 'Fuse Tooling'
  1. Fuse Tooling
  2. FUSETOOLS-457

JMX Route Tree - Should build the route in the exact same order as the route XML orders

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Obsolete
    • Major
    • None
    • None
    • Camel Editor
    • None

    Description

      I created a new fuse project using the camel-spring archetypes. Started the app, and connected with JMX.

      See the screenshot.
      Notice that otherwise is shown before when in the JMX tree.

      And this is the XML output of the route:

      <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
      <route id="route1" xmlns="http://camel.apache.org/schema/spring">
          <from uri="file:src/data?noop=true"/>
          <choice id="choice1">
              <when id="when1">
                  <xpath>/person/city = 'London'</xpath>
                  <log message="UK message" id="log1"/>
                  <to uri="file:target/messages/uk" id="to1"/>
              </when>
              <otherwise id="otherwise1">
                  <log message="Other message" id="log2"/>
                  <to uri="file:target/messages/others" id="to2"/>
              </otherwise>
          </choice>
      </route>
      

      The JMX tree should display in same order as the XML, so we can control the ordering.

      Attachments

        Activity

          People

            lheinema@redhat.com Lars Heinemann
            cibsen@redhat.com Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: