Viewing the code and executing the Route - Cloud - 8.0

Filter (Mediation)

Version
Cloud
8.0
Language
English
Product
Talend Data Fabric
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend Studio
Content
Data Governance > Third-party systems > Routing components (Mediation) > Filter components (Mediation)
Data Quality and Preparation > Third-party systems > Routing components (Mediation) > Filter components (Mediation)
Design and Development > Third-party systems > Routing components (Mediation) > Filter components (Mediation)
Last publication date
2024-02-21

Procedure

  1. To have a look at the generated code, click the Code tab at the bottom of the design workspace.
    As shown in this piece of code, messages from the sender are filtered by cMessageFilter_1 according to .xpath("/person[city='Paris']") and the messages matching the filter are send .to the endpoint Paris_only, while all messages are sent .to the endpoint Unfiltered.
  2. Click the Run view to display it and click the Run button to launch the execution of your Route.
    You can also press F6 to execute it.
    RESULT: The messages are filtered according to the defined criterion and the messages containing "Paris" are redirected to the Paris_only folder, all the messages, including those containing "Paris", are sent to the Unfiltered folder.