Procedure
-
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 bycRoutingSlip_1
. -
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.