Configuring the components - 6.4

Logs and errors - Mediation

author
Talend Documentation Team
EnrichVersion
6.4
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. Double-click cErrorHandler to open its Basic settings view in the Component tab.
  2. Select Logging Handler to log the exceptions that are thrown.
  3. Double-click cMessagingEndpoint to open its Basic settings view in the Component tab.
  4. In the Uri field, enter jetty:http://localhost:8889/service to specify the Jetty server.
  5. Click Advanced settings for further setup.
  6. In the Dependencies table, click the [+] button to add a line and select jetty from the Camel component list.
  7. Double-click cProcessor to open its Basic settings view in the Component tab.
  8. In the Code box, enter throw new Exception("server side error") to throw an exception.
  9. Press Ctrl+S to save your Route.