This scenario applies only to Talend Open Studio for ESB, Talend ESB, Talend Data Services Platform, Talend MDM Platform, Talend Real Time Big Data Platform, and Talend Data Fabric.
For more technologies supported by Talend, see Talend Mediation Components.
In this use case, we route XML messages that are sent from the sending endpoint according to a defined criterion: those XML files in which the value of the city node is Paris are sent to a folder named Paris_only, and other messages are sent to a folder named Other_cities.
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>