Dropping and linking the components - 7.0

Load Balancer - Mediation

author
Talend Documentation Team
EnrichVersion
7.0
EnrichProdName
Talend Data Fabric
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for ESB
Talend Real-Time Big Data Platform
task
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)
EnrichPlatform
Talend Studio

This scenario requires one cFile component as the message sender, one cLoadBalancer component to distribute the messages to two different receivers in a load balancing manner, two cJavaDSLProcessor components to define the URIs of the receivers, two cMessagingEndpoint components to retrieve the messages routed to the two receivers, and two cProcessor components to display the effect of round robin load balancing.

Procedure

  1. From the Connectivity folder of the Palette, drop one cFile component and two cMessagingEndpoint components onto the workspace, and label them according to their roles in the Route: Sender, Receiver_A, and Receiver_B respectively.
  2. From the Routing folder, drop a cLoadBalancer component onto the design workspace, and label it Load_balancer.
  3. From the Core folder, drop two cJavaDSLProcessor components onto the design workspace, and label them according to their roles in the Route: To_Receiver_A and To_Receiver_B respectively.
  4. From the Custom folder, drop two cProcessor components onto the design workspace, and label them according to their roles in the Route: Monitor_A, and Monitor_B respectively.
  5. Link the cFile component to the cLoadBalancer component using a Row > Route connection.
  6. Link cLoadBalancer to each of the two cJavaDSLProcessor components using a Row > Load Balance connection.
  7. Link each of the two cMessagingEndpoint components to the corresponding cProcessor component using a Row > Route connection.