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, Ignore_exception handles any IO exception thrown by .bean(beans.throwIOException.class) invoked by cBean_1, so that messages from the endpoint Source can be successfully routed onwards (continued(true)) in spite of the exception.
  2. Press F6 to execute the Route.
    The route gets executed successfully and the files from the source are successfully routed to the destination.
  3. Change the exception handling option in the cOnException component or deactivate the component and run the Route again.
    The exception thrown by the Java bean prevents the messages from being routed successfully.