Skip to main content Skip to complementary content

Viewing 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, the route starts from the endpoint Jetty_Server and throws the exception of server side error via cProcessor_1.
  2. Press F6 to execute the Route.
    The Jetty server has started.
  3. Launch an Internet browser and enter http://localhost:8889/service (the Jetty server URI configured above) in the address bar to access the server.
    As shown above, the request failed due to the server error.
  4. Go to the Studio and check the results in the Run tab.
    As shown above, cErrorHandler has logged the exception at the level of ERROR.

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!