# Viewing code and executing the Route

## Procedure

1. Click the Code tab at the bottom of the design workspace to check the generated code.

   ![](https://help.qlik.com/talend/en-US/mediation-components/8.0/Resources/images/use_case_crecipientlist_7.png)

   As shown above, the Route gets the message from Read\_Input\_cFile\_1, and .setHeader("ListOfRecipients") using .constant("direct:a,direct:b"). Then, cRecipientList\_1 reads .header("ListOfRecipients") and routes the message to the recipients included in it.
2. Press F6 to execute the Route.

   The message is sent to recipients included in the header.

   ![](https://help.qlik.com/talend/en-US/mediation-components/8.0/Resources/images/use_case_crecipientlist_8.png)