camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From camel user <>
Subject Multicast EIP - Camel Blueprint
Date Sun, 05 Jan 2014 02:46:46 GMT
In the below snippet, I want the property empNo to be available in the route3. Is it possible?
My ultimate goal here is that I want to use a value derived from the URI in Multicast first
route to be available in the multicast second route. How to achieve it? Please help.

<route id="1">
--some stuuf goes here--
<to uri="serviceURI1"/>
<to uri="direct:route2"/>
<to uri="direct:route3"/>
<route id="2">
<from uri="direct:route2"/>
<to uri="serviceURI2"/>
<setProperty propertyName="empNo"><xpath>/result/empNo/text()</xpath></setProperty>
<route id="3">
<from uri="direct:route3"/>
   <log message="${property.empNo}"/> --Prints nothing as empNo is not available in
this route

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message