Viewing the code and executing the Route

Route - Mediation

author
Talend Documentation Team
EnrichVersion
6.4
EnrichProdName
Talend Open Studio for ESB
Talend Real-Time Big Data Platform
Talend MDM Platform
Talend Data Services Platform
Talend Data Fabric
Talend ESB
task
Data Quality and Preparation > Third-party systems > Route components
Design and Development > Third-party systems > Route components
Data Governance > Third-party systems > Route components
EnrichPlatform
Talend Studio

Procedure

  1. Click the Code tab at the bottom of the design workspace to check the generated code.
    As shown above, a message route is built from the Starter, set a message header by the cSetHeader, and then sent to cTalendJob for the execution of the Job.
  2. Press F6 to execute the Route.
    As shown above, the header and body of the message is printed in the execution console by the tLogRow. The header value is FileName. It is defined by the cSetHeader and passed to the Job as a context variable. The body value is Hello World!. It is defined by tRouteInput using the context variable body of the Job. The value for this variable is set as world in the Job, but changed to Hello World! in cTalendJob.