Skip to main content Skip to complementary content

Viewing the code and executing the Route

Procedure

  1. To have a look at the generated code, click the Code tab at the bottom of the design workspace.
    As shown in this piece of code, messages from the sender are filtered by cMessageFilter_1 according to .xpath("/person[city='Paris']") and the messages matching the filter are send .to the endpoint Paris_only, while all messages are sent .to the endpoint Unfiltered.
  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 messages are filtered according to the defined criterion and the messages containing "Paris" are redirected to the Paris_only folder, all the messages, including those containing "Paris", are sent to the Unfiltered folder.

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!