Viewing code and executing the Route - 6.5

Logs and errors - Mediation

author
Talend Documentation Team
EnrichVersion
6.5
EnrichProdName
Talend Data Fabric
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for ESB
Talend Real-Time Big Data Platform
task
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)
EnrichPlatform
Talend Studio

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.