Configuring the components - 7.3

Route

Version
7.3
Language
English
Product
Talend Data Fabric
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend Studio
Content
Data Governance > Third-party systems > Route components
Data Quality and Preparation > Third-party systems > Route components
Design and Development > Third-party systems > Route components
Last publication date
2024-02-21

Procedure

  1. Double-click the cTimer component to open its Basic settings view in the Component tab.
  2. Enter 1 in the Repeat field to trigger a message exchange one time.
  3. Double-click the cSetBody component to display its Basic settings view in the Component tab.
  4. Select Simple from the Language list and enter Hello! in the Expression field.
  5. Double-click the cJavaDSLProcessor component to open its Basic settings view in the Component tab.
  6. Enter .handleFault() in the Code box so that the fault message will be caught as an exception.
  7. Double-click the cTalendJob component to display its Basic settings view in the Component tab.
  8. Select Job RouteCommunication_tRouteFault from the repository to call the Job that is created in the previous section.
  9. Double-click the cOnException component to display its Basic settings view in the Component tab.
  10. Click [+] to add a line to the Exceptions table, and enter org.apache.camel.CamelException in the Exception field to handle the exceptions.
  11. Double-click the cProcessor component to display its Basic settings view in the Component tab.
  12. Customize the code in the Code area to show the message body:
    System.out.println(exchange.getIn());
  13. Press Ctrl+S to save your Route.