Configuring the first sub-route - 7.0

Direct - Mediation

author
Talend Documentation Team
EnrichVersion
7.0
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 > Messaging components (Mediation) > Direct components (Mediation)
Data Quality and Preparation > Third-party systems > Messaging components (Mediation) > Direct components (Mediation)
Design and Development > Third-party systems > Messaging components (Mediation) > Direct components (Mediation)
EnrichPlatform
Talend Studio

Procedure

  1. Double-click the cTimer component (labelled Starter in this example) to display its Basic settings view on the Component tab.
  2. In the Repeat field, enter 1 so that the message exchange is triggered only once. Leave the other settings as they are.
  3. Double-click the cSetHeader component (labelled Set_message_headers in this example) to display its Basic settings view on the Component tab.
  4. Click the [+] button to add two headers in the Headers table, and then give each header a name and a value.
    In this example, we name the headers Name and Company respectively, and enter Bill and Talend as their values.
  5. Double-click the cSetBody component (labelled Set_message_body in this example) to display its Basic settings view on the Component tab.
  6. Select SIMPLE from the Language list as we will trigger a simple text message exchange in this example.
  7. In the Expression field, enter Hi there in double quotation marks as the content of the message body.
  8. Double-click the first cDirectVM component (labelled D-VM_producer in this example) to display its Basic settings view on the Component tab.
  9. Select an existing consumer endpoint, or specify the name of the consumer endpoint.
    In this example, we will name the consumer endpoint dvm, so select the Input Endpoint Name option, and enter the name of the consumer endpoint dvm in the Endpoint Name field.