Skip to main content Skip to complementary content

Viewing code and executing the Route


  1. Click the Code tab at the bottom of the design workspace to have a look at the generated code.
    In this partially shown code, messages from the sender are given a header according to .setHeader, which carries a list of URIs ("direct:c,direct:a,direct:b"), and then routed in the slip pattern according by cRoutingSlip_1.
  2. Click the Run view to display it and click the Run button to launch the execution of your Route.
    You can also press F6 to execute it.
    RESULT: The source file messages are routed consecutively to the defined endpoints: c, then a, and then b.

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!