Ignore invalid endpoints - 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 ignoreInvalidEndpoints which the Recipient List also supports. You can use it to skip endpoints which are invalid.

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

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

<route>
   <from uri="direct:a"/>
   <routingSlip ignoreInvalidEndpoints="true"/>
       <header>myHeader</header>
    </routingSlip>
</route>

Then let's say the myHeader contains the following two endpoints direct:foo,xxx:bar. The first endpoint is valid and works. However the second is invalid and will just be ignored. Camel logs at INFO level about, so you can see why the endpoint was invalid.