Dropping and linking components

Logs and errors - Mediation

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

Procedure

  1. From the Connectivity folder of the Palette, drop twocFile components onto the design workspace, one as the message sender and the other as the message receiver.
  2. From the Exception Handling folder, drop a cTry component onto the design workspace to build Try, Catch and Finally blocks.
  3. From the Custom folder, drop two cProcessor components onto the design workspace.
  4. Link the cFile component serving as message sender to the cTry component using a Row > Route connection.
  5. Link the cTry component to one cProcessor using a Row > Try connection. This cProcessor component will throw an exception if any file coming via this connection does not contain the required content.
  6. Link the cTry component to the other cProcessor component using a Row > Catch connection to catch the exception. This cProcessor component will display the information related to the exception and the file name that does not contain the required content.
  7. Link the cTry component to the receiving cFile component using a Row > Finally connection.
  8. Label the components according to their roles in the Route.