# Configuring the components

## Procedure

1. Double-click cErrorHandler to open its Basic settings view in the Component tab.

   ![](https://help.qlik.com/talend/en-US/mediation-components/8.0/Resources/images/use_case_cerrorhandler_2.png)
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.

   ![](https://help.qlik.com/talend/en-US/mediation-components/8.0/Resources/images/use_case_cerrorhandler_3.png)
4. In the Uri field, enter jetty:http://localhost:8889/service to specify the Jetty server.
5. Click Advanced settings for further setup.

   ![](https://help.qlik.com/talend/en-US/mediation-components/8.0/Resources/images/use_case_cerrorhandler_4.png)
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.

   ![](https://help.qlik.com/talend/en-US/mediation-components/8.0/Resources/images/use_case_cerrorhandler_5.png)
8. In the Code box, enter throw new Exception("server side error") to throw an exception.
9. Press Ctrl+S to save your Route.