# Viewing the 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_cdelayer6.png)

   As shown in the code, a 20-second delay is implemented according to .delay(20000) in the message routing from the Read endpoint .to the Write endpoint.
2. Press F6 to execute the Route.

   RESULT: Each message read from the source folder is routed to the target folder after a 20-second delay.

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