I want to append a property set in the first route to the resultant XML of the serviceURI hit from the second route. If its possible, please let me know how.
Sample snippet below. <route> --some stuff goes here-- <setProperty propertyName="empName"><xpath>/result/empName/text()</xpath></setProperty> --some stuff goes here-- <to uri="direct:route2"> </route> <route> <from uri="direct:route2"> <to uri="serviceURI"/> --${body} will have the resultant xml-- --here I want to append empName(property defined in route 1) as an XML tag to ${body}-- </route> Thanks!