August 16, 2023

Configuring the second sub-route – Docs for ESB 6.x

Configuring the second sub-route

  1. Double-click the fetchURL component to
    display its Basic settings view in the
    Component tab.

    use_case-ccontentenricher8.png

  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.

    use_case-ccontentenricher9.png

  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.

    use_case-ccontentenricher10.png

  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.

    use_case-ccontentenricher11.png

  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

    plus_button.png

    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.

    use_case-ccontentenricher13.png


Document get from Talend https://help.talend.com
Thank you for watching.
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x