Dropping and linking the components

SetHeader - Mediation

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

About this task

This use case uses two cFile components, one as the message sender and the other as the receiver, a cSplitter component to split the source message into sub-messages, a cSetHeader component to rename each sub-message, and a cProcessor component to display the file name of each message routed to the receiver.

Procedure

  1. From the Palette, expand the Connectivity folder, and drop two cFile components onto the design workspace.
  2. From the Routing folder, drop a cSplitter component onto the design workspace, between the two cFile components.
  3. From the Core folder, drop a cSetHeader component onto the design workspace, between the cSplitter component and the receiving cFile component.
  4. Right-click the first cFile component, select Row > Route from the contextual menu and click the cSplitter component.
  5. Right-click the cSplitter component, select Row > Split from the contextual menu and click the cSetHeader component.
  6. Right-click the cSetHeader component, select Row > Route from the contextual menu and click the second cFile component.
  7. Right-click the second cFile component, select Row > Route from the contextual menu and click the cProcessor component.
  8. Label the components to better identify their roles in the Route, as shown above.