Configuring the second sub-route - Cloud - 8.0

Content Enricher (Mediation)

Version
Cloud
8.0
Language
English
Product
Talend Data Fabric
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend Studio
Content
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)
Last publication date
2024-02-21

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 http://camel.apache.org/http4.html.