Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.13.1
-
None
-
Unknown
Description
If setting a custom id on a CBR then the dump route as xml JMX operation will include the id duplicated in the otherwise tag
<routes xmlns="http://camel.apache.org/schema/spring"> <route id="route1"> <from uri="file:src/data?noop=true"/> <to uri="activemq:personnel.records" customId="true" id="amq"/> </route> <route id="route2"> <from uri="activemq:personnel.records"/> <choice customId="true" id="myChoice"> <when id="when1"> <xpath>/person/city = 'London'</xpath> <to uri="file:target/messages/uk" id="to1"/> </when> <otherwise customId="true" id="myChoice"> <to uri="file:target/messages/others" id="to2"/> </otherwise> </choice> </route> </routes>