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.
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.
Did this page help you?
If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!