# Configuring the first sub-route

## Procedure

1. Double-click the cTimer component (labeled *Starter* in this example) to display its Basic settings view on the Component tab.

   ![](https://help.qlik.com/talend/en-US/mediation-components/8.0/Resources/images/mediation_components-use_case-cdirectvm_2.png)
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 (labeled *Set\_message\_headers* in this example) to display its Basic settings view on the Component tab.

   ![](https://help.qlik.com/talend/en-US/mediation-components/8.0/Resources/images/mediation_components-use_case-cdirectvm_3.png)
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 (labeled *Set\_message\_body* in this example) to display its Basic settings view on the Component tab.

   ![](https://help.qlik.com/talend/en-US/mediation-components/8.0/Resources/images/mediation_components-use_case-cdirectvm_4.png)
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 (labeled *D-VM\_producer* in this example) to display its Basic settings view on the Component tab.

   ![](https://help.qlik.com/talend/en-US/mediation-components/8.0/Resources/images/mediation_components-use_case-cdirectvm_5.png)
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.