Procedure
-
Double-click the cTimer component
(labelled Starter in this example) to
display its Basic settings view on the
Component tab.
- In the Repeat field, enter 1 so that the message exchange is triggered only once. Leave the other settings as they are.
-
Double-click the cSetHeader component (labelled
Set_message_headers in this example)
to display its Basic settings view on the
Component tab.
-
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.
-
Double-click the cSetBody component
(labelled Set_message_body in this
example) to display its Basic settings view
on the Component tab.
- Select SIMPLE from the Language list as we will trigger a simple text message exchange in this example.
- In the Expression field, enter Hi there in double quotation marks as the content of the message body.
-
Double-click the first cDirectVM
component (labelled D-VM_producer in this
example) to display its Basic settings view
on the Component tab.
-
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.