Skip to main content Skip to complementary content

Viewing the code and executing the Route

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.

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 – let us know how we can improve!