Viewing code and executing the Route - 7.0

Recipient List - Mediation

author
Talend Documentation Team
EnrichVersion
7.0
EnrichProdName
Talend Data Fabric
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for ESB
Talend Real-Time Big Data Platform
task
Data Governance > Third-party systems > Routing components (Mediation) > Recipient List components (Mediation)
Data Quality and Preparation > Third-party systems > Routing components (Mediation) > Recipient List components (Mediation)
Design and Development > Third-party systems > Routing components (Mediation) > Recipient List components (Mediation)
EnrichPlatform
Talend Studio

Procedure

  1. Click the Code tab at the bottom of the design workspace to check the generated code.
    As shown above, the route gets the message from Read_Input_cFile_1, and .setHeader("ListOfRecipients") using .constant("direct:a,direct:b"). Then, cRecipientList_1 reads .header("ListOfRecipients") and routes the message to the recipients included in it.
  2. Press F6 to execute the Route.
    The message is sent to recipients included in the header.