# 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/7.3/Resources/images/use_case_cexchangepattern_5.png)

   As shown above, the route has its message exchange pattern set as InOut using the method .setExchangePattern(org.apache.camel.ExchangePattern.InOut). In the meantime, a string is created using StringBuilder sb = new StringBuilder() at cProcessor\_1 and is used as the reply message via the method exchange.getOut().setBody( sb.toString()).
2. Press F6 to execute the Route.

   The server Route gets started.