Viewing code and executing the Route - Cloud - 8.0

Routing Slip (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) > Routing Slip components (Mediation)
Data Quality and Preparation > Third-party systems > Routing components (Mediation) > Routing Slip components (Mediation)
Design and Development > Third-party systems > Routing components (Mediation) > Routing Slip components (Mediation)
Last publication date
2024-02-21

Procedure

  1. Click the Code tab at the bottom of the design workspace to have a look at the generated code.
    In this partially shown code, messages from the sender are given a header according to .setHeader, which carries a list of URIs returned by the beans.setEndpoints.class, and then routed to the cRoutingSlip_1.
  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 sources are routed consecutively to the defined endpoints: the message containing the city name Beijing is routed first to endpoint c, then to endpoint a, and finally to endpoint b; the message containing the city name Paris is routed first to endpoint a, then to endpoint b, and finally to endpoint c; the other messages are routed to endpoint b and then to endpoint c.