-
Bug
-
Resolution: Done
-
Major
-
2.7.1-fuse-00-27
-
None
-
None
e.g. with the following route (in the camel-activemq archetype), when tracing in IDE it tends to show "choice1", "when1" , "when1" for the toNodeId trace messages; rather than showing "log2", "to2" etc.
Also it seems like Camel doesn't auto-generate the IDs of when/otherwise nodes.
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd http://activemq.apache.org/schema/core http://activemq.apache.org/schema/core/activemq-core-5.5.0.xsd"> <broker brokerName="CxfPayloadDemo" persistent="false" useJmx="true" xmlns="http://activemq.apache.org/schema/core"> <transportConnectors> <transportConnector name="openwire" uri="tcp://localhost:51616"/> <transportConnector name="vm" uri="vm:local"/> </transportConnectors> </broker> <!-- Configure Camel ActiveMQ component to use the preceding ActiveMQ broker --> <bean class="org.apache.activemq.camel.component.ActiveMQComponent" id="activemq"> <property name="brokerURL" value="vm:local"/> </bean> <camelContext xmlns="http://camel.apache.org/schema/spring" trace="true"> <package>org.fusesource.video.idebrowse</package> <route id="IdeBrowse"> <from uri="activemq:queue:conference.talks"/> <choice> <when> <xpath>/talk/venue = 'London'</xpath> <log message="UK Conference"/> <to uri="activemq:queue:talk.uk"/> </when> <otherwise> <log message="Other venues"/> <to uri="activemq:queue:talk.other"/> </otherwise> </choice> </route> </camelContext> </beans>