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 check the generated code.
    As shown above, while messages are routed from the sender .to the receiver, .doTry(), .doCatch() and .doFinally() blocks are built by cTry_1. Thus, when any file does not meet the content requirement, an exception is thrown and caught, before each file is finally routed to the receiver.
  2. Press F6 to execute the Route.
    RESULT: When a file that does not meet the content requirement is detected, an exception is thrown, and the exception information is displayed on the console. Regardless of the exception, all the files from the sender are sent to the receiver.

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!