Configuring the components - 6.5

Internet - Mediation

author
Talend Documentation Team
EnrichVersion
6.5
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 > Internet components (Mediation)
Data Quality and Preparation > Third-party systems > Internet components (Mediation)
Design and Development > Third-party systems > Internet components (Mediation)
EnrichPlatform
Talend Studio

Procedure

  1. Double-click cHttp to open its Basic settings view in the Component tab.
  2. In the URI field, enter "http://localhost:8088/user" where the service will be accessible for requests.
  3. Click the Server radio button to use this cHttp component as a server. Keep the default settings of the other options.
  4. Double-click cProcessor to open its Basic settings view in the Component tab.
  5. In the Code area, enter the following code to get the header id of the exchange message:
    System.out.println(exchange.getIn().getHeader("id"));
  6. Press Ctrl+S to save your Route.