Adding and configuring the Talend ESB REST Client connector - 7.1

Talend Connectors for BPM Reference Guide

author
Talend Documentation Team
EnrichVersion
7.1
EnrichProdName
Talend Data Fabric
Talend Data Services Platform
Talend MDM Platform
Talend Real-Time Big Data Platform
task
Design and Development
EnrichPlatform
Talend Studio

Procedure

  1. From the General view, select the Connectors tab and click the Add... button, and then in the connector wizard select Talend > Talend ESB REST Client and then click Next.
  2. Give the connector a name, ESB_RS_getCustomerInfo in this example, and click Next.
  3. Configure the REST Service.
    1. Fill the Endpoint URL field with the URL of the REST Service implement by the DemoREST Job, http://localhost:8090/services/customers in this example.
    2. Fill in the Relative Path field with ${customer_ID}, which corresponds to the variable you just created.
      This allows you to enter the relative path on your Web browser when the process is executed.
    3. From the Method list, select GET.
      This operation will retrieve data from the REST service to be called.
  4. Click Next.
    The Configure TESB Feature page opens to let you configure service locator information, service activity monitoring, and business correlation. As we do not use any of these options in this example, simply click Next to proceed with connector output mapping.
  5. Click the Create data button.
  6. In the Add a new variable dialog box, name the variable Customer_Info, clear the Auto-generate form check box, and then click Finish to close the dialog box.
  7. Click Finish to close connector configuration wizard.