Skip to main content

Filtering messages according to a criterion

This scenario applies only to Talend ESB, Talend Data Services Platform, Talend MDM Platform, Talend Real-Time Big Data Platform, and Talend Data Fabric.

In this use case, we filter XML messages that are sent from the sending endpoint according to a defined criterion: only the XML files in which the value of the city node is Paris are sent to a folder named Paris_only.

Of the four XML files used in this scenario, Message_1.xml and Message_4.xml contain the city name of Paris. The following is an example:

<person>
  <firstName>Pierre</firstName>
  <lastName>Dupont</lastName>
  <city>Paris</city>
</person>

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!