Configuring the second sub-route - 6.4

Content Enricher - Mediation

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

Procedure

  1. Double-click the fetchURL component to display its Basic settings view in the Component tab.
  2. In the URI field, enter "direct:fetchURL" that is defined in the cContentEnricher component.
  3. Double-click the setURI component to display its Basic settings view in the Component tab.
  4. Click [+] to add a row to the Headers table.
    In the Name field, enter org.apache.camel.Exchange.HTTP_URI to define the HTTP URI of each message.
    Select Simple in the Language list.
    In the Value field, enter "http://localhost:8080" of the local Tomcat server.
  5. Double-click the setPATH component to display its Basic settings view in the Component tab.
  6. Click [+] to add a row to the Headers table.
    In the Name field, enter org.apache.camel.Exchange.HTTP_PATH to define the HTTP path of each message.
    Select Simple in the Language list.
    In the Value field, enter "${body}" that is split from the original message.
  7. Double-click the http4Endpoint component to display its Basic settings view in the Component tab.
  8. In the URI field, enter "http4:localhost:8080" to consuming HTTP resources on the local Tomcat server.
  9. Click the Advanced settings view. Click at the bottom of the Dependencies list to add a row and select http4 from the drop-down list. For more information about HTTP4, see the site http://camel.apache.org/http4.html.