Using an XQuery endpoint to filter messages
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 scenario, we will use a cMessagingEndpoint component to call a Route Resource as an XQuery parser to extract messages from the local file system.
The following sample XML file is used in this scenario:
<people>
<person id="8">
<firstName>Ellen</firstName>
<lastName>Ripley</lastName>
<city>Washington</city>
</person>
<person id="9">
<firstName>Peter</firstName>
<lastName>Green</lastName>
<city>London</city>
</person>
</people>