Viewing code and executing the Route - 7.1

Exchange - Mediation

author
Talend Documentation Team
EnrichVersion
7.1
EnrichProdName
Talend Data Fabric
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for ESB
Talend Real-Time Big Data Platform
task
Data Governance > Third-party systems > Exchange components (Mediation)
Data Quality and Preparation > Third-party systems > Exchange components (Mediation)
Design and Development > Third-party systems > Exchange components (Mediation)
EnrichPlatform
Talend Studio

Procedure

  1. Click the Code tab at the bottom of the design workspace to check the generated code.
    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.