Viewing code and executing the Route

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. Click the Code tab at the bottom of the design workspace to check the generated code.
    As shown above, the route starts from the endpoint Jetty_Server and throws the exception of server side error via cProcessor_1.
  2. Press F6 to execute the Route.
    The Jetty server has started.
  3. Launch an Internet browser and enter http://localhost:8889/service (the Jetty server URI configured above) in the address bar to access the server.
    As shown above, the request failed due to the server error.
  4. Go to the Studio and check the results in the Run tab.
    As shown above, cErrorHandler has logged the exception at the level of ERROR.