Running the services - 6.1

Talend ESB Getting Started Guide

EnrichVersion
6.1
EnrichProdName
Talend ESB
task
Design and Development
EnrichPlatform
Talend Studio
  1. To test that all has been configured correctly, before adding the consumer, go to the route created in the studio and execute it. Click the Run button in Run (Job SayHelloRoute) tab:

    This checks that the CXF configuration information is syntactically correct. It also gives an output of "0 rows" on the grid, which reflect the flow of messages, so that you know that the parts are connecting. Leave the job running.

    Note

    If you get syntax errors, then click on each component in turn, and examine it in the Component tab. Check in particular that the double quotes are all there, and that the port numbers are correct.

  2. Now, switch back to the consumer to run the demo for real. Click Integration perspective in the top right hand corner. Then open the SayHelloConsumer 0.1. Update the port number, so click the Component tab of the tESBConsumer, and the [...] button next to Service Configuration. Update the port number to be 8092, and click the refresh button to retrieve the WSDL information. Now update the endpoint to be that of the route - http://localhost:8092/services/SayHelloService.

  3. Now send a request by running the consumer job by clicking on the tab Run (Job SayHelloConsumer) and click Run. The "Hello Alice" and two error messages are displayed in the consumer output.

    The main grid shows "3 rows", one message being passed along and two going to fault.

  4. Now look at the Route SayHelloRoute 0.1 tab, 1 message went to the cCXF_2 provider and 2 messages went to the cProcessor_1 endpoint.

That is the SayHelloRoute demo completed.