Viewing code and executing the Route - 7.3

Logs and errors (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 > Logs and errors components (Mediation)
Data Quality and Preparation > Third-party systems > Logs and errors components (Mediation)
Design and Development > Third-party systems > Logs and errors components (Mediation)
Last publication date
2023-06-12

Procedure

  1. Click the Code tab at the bottom of the design workspace to check the generated code.
    As shown above, while messages are routed from the sender .to the receiver, .doTry(), .doCatch() and .doFinally() blocks are built by cTry_1. Thus, when any file does not meet the content requirement, an exception is thrown and caught, before each file is finally routed to the receiver.
  2. Press F6 to execute the Route.
    RESULT: When a file that does not meet the content requirement is detected, an exception is thrown, and the exception information is displayed on the console. Regardless of the exception, all the files from the sender are sent to the receiver.