Viewing code and executing the Route - 7.3

Dynamic Router (Mediation)

Version
7.3
Language
English
Product
Talend Data Fabric
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for ESB
Talend Real-Time Big Data Platform
Module
Talend Studio
Content
Data Governance > Third-party systems > Routing components (Mediation) > Dynamic Router components (Mediation)
Data Quality and Preparation > Third-party systems > Routing components (Mediation) > Dynamic Router components (Mediation)
Design and Development > Third-party systems > Routing components (Mediation) > Dynamic Router components (Mediation)
Last publication date
2023-06-12

Procedure

  1. Click the Code tab at the bottom of the design workspace to have a look at the generated code.
    As shown in the code, the incoming message from the endpoint Message_source is routed by .dynamicRouter to endpoints the URIs of which are dynamically set according to beans.setDynaURI.class.
  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 source messages are routed to different endpoints based on the city names contained in the messages.