# Viewing code and executing the Route

## Procedure

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

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

   As shown in the code, a message route is built from the endpoint identified byRead\_dataset and cProcessor\_1 gets the message content and displays it on the console.
2. Click the Run view to display it and click the Run button to launch the execution of your Route. You can also press F6 to execute it.

   RESULT: The message content is printed in the console.

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