Expression supporting - 6.3

Talend ESB Mediation Developer Guide

EnrichVersion
6.3
EnrichProdName
Talend Data Fabric
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for ESB
Talend Real-Time Big Data Platform
task
Design and Development
EnrichPlatform
Talend ESB

The Routing Slip now supports to take the expression parameter as the Recipient List does. You can tell Camel the expression that you want to use to get the routing slip.

from("direct:a").routingSlip(header("myHeader")).ignoreInvalidEndpoints();

And in Spring XML it is an attribute on the recipient list tag.

<route>
       <from uri="direct:a"/>
       <!--NOTE you need to specify the expression element
           inside of the routingSlip element -->
       <routingSlip ignoreInvalidEndpoints="true">
           <header>myHeader</header>
       </routingSlip>
</route>