-
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
.
-
Press F6 to execute the Route.
The Jetty server has started.
-
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.
-
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.