Viewing the code and executing the Route - Cloud - 8.0

Load Balancer (Mediation)

Version
Cloud
8.0
Language
English
Product
Talend Data Fabric
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for ESB
Talend Real-Time Big Data Platform
Module
Talend Studio
Content
Data Governance > Third-party systems > Routing components (Mediation) > Load Balancer components (Mediation)
Data Quality and Preparation > Third-party systems > Routing components (Mediation) > Load Balancer components (Mediation)
Design and Development > Third-party systems > Routing components (Mediation) > Load Balancer components (Mediation)

Procedure

  1. Click the Code tab at the bottom of the design workspace to check the generated code:
    As shown above, while messages are routed from the source endpoint .to the destination endpoints, routing load balancing is implemented according to the .roundRobin() method by cLoadBalancer_1.
  2. Press F6 to run your Route.
    RESULT: Of the four messages from the sender, two are routed to Receiver_A and two are routed to Receiver_B in a round robin manner.