Details
-
Enhancement
-
Resolution: Obsolete
-
Major
-
None
-
None
-
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.