# Viewing code and executing the Route

## Procedure

1. Click the Code tab at the bottom of the design workspace to have a look at the generated code.

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

   As shown in this piece of code, cIntercept intercepts messages from "file\*". cStop terminates message routing before the message is routed from cFile to the next endpoint.
2. Click the Run view and click the Run button to launch the execution of your Route. You can also press F6 to execute it.

   The file sent from cFile is caught by cIntercept and monitored by cProcessor. The original sub-route is terminated before the message is sent to the next endpoint. ![](https://help.qlik.com/talend/en-US/mediation-components/8.0/Resources/images/use_case_cintercept9.png)