Skip to main content Skip to complementary content
Close announcements banner

Configuring the components

Procedure

  1. Double-click cErrorHandler to open its Basic settings view in the Component tab.
  2. Select Logging Handler to log the exceptions that are thrown.
  3. Double-click cMessagingEndpoint to open its Basic settings view in the Component tab.
  4. In the Uri field, enter jetty:http://localhost:8889/service to specify the Jetty server.
  5. Click Advanced settings for further setup.
  6. In the Dependencies table, click the [+] button to add a line and select jetty from the Camel component list.
  7. Double-click cProcessor to open its Basic settings view in the Component tab.
  8. In the Code box, enter throw new Exception("server side error") to throw an exception.
  9. Press Ctrl+S to save your Route.

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!