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

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

    Details

    • Type: Enhancement
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Out of Date
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Camel Editor
    • Labels:
      None
    • Environment:

      2.1.145

      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                lhein Lars Heinemann
                Reporter:
                davsclaus Claus Ibsen
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: