Details
-
Bug
-
Resolution: Done
-
Major
-
1.1.32
-
None
-
None
Description
The nodes within a CBR should be connected to the node after the CBR IMO since this is the way the exchange flows through the route. Take the following route for example,
<route id="NormalizeMessageData"> <from uri="jms:incomingOrders"/> <convertBodyTo type="java.lang.String"/> <choice> <when> <simple>${body} contains '?xml'</simple> <unmarshal ref="xml"/> </when> <otherwise> <unmarshal ref="csv"/> </otherwise> </choice> <to uri="jms:orders"/> </route>
I would think that this would be rendered like:
jms:incomingOrders --> convertBodyTo --> choice {unmarshal1 || unmarshal2} --> jms:orders
however, it is rendered like:
jms:incomingOrders --> convertBodyTo --> choice {unmarshal1 || unmarshal2} --> jms:orders