# cErrorHandler

Processes errors in the message routing.

For more information, see the Apache camel documentation https://camel.apache.org/components/latest/.

## cErrorHandler Standard properties

These properties are used to configure cErrorHandler running in the Standard Job framework.

The Standard cErrorHandler component belongs to the Exception Handling family.

## Basic settings

| Properties | Description |
| --- | --- |
| Default Handler | <ul> <li> <p>This error handler does not support a dead letter queue and will								return exceptions back to the caller.</p> </li> <li> <p> <span>Set Maximum Redeliveries</span>: select								this check box to set the number of redeliveries in the <span>Maximum Redeliveries (int)</span> field.</p> </li> <li> <p> <span>Set Redelivery Delay</span>: select this								check box to set the initial redelivery delay (in milliseconds) in								the <span>Redelivery Delay (long)</span>								field.</p> </li> <li> <p> <span>Set Retry Attempted Log Level</span>:								select this check box to select the log level in the <span>Level</span> list for log messages when retries								are attempted.</p> </li> <li> <p> <span>Asynchronized Delayed Redelivery</span>:								select this check box to allow asynchronous delayed								redelivery.</p> </li> <li> <p> <span>More Configurations by Code</span>:								select this check box to enter codes in the <span>Code</span> box for further configuration.</p> </li> </ul> |
| Dead Letter | <ul> <li> <p>This handler supports attempting to redeliver the message exchange								a number of times before sending it to a dead letter								endpoint.</p> </li> <li> <p> <span>Dead Letter Uri</span>: select this								check box to define the endpoint of the dead letter queue. </p> <p>Other parameters share the same meaning as those of the default								handler.</p> </li> </ul> |
| Logging Handler | <ul> <li> <p>This handler logs the exceptions.</p> </li> <li> <p> <span>Set Logger Name</span>: select this								check box to give a name to the logger in the <span>Name</span> field.</p> </li> <li> <p> <span>Set Log Level</span>: select this check								box to decide the log level from the <span>Level</span> list. </p> </li> </ul> |

## Usage

| Usage guidance | Description |
| --- | --- |
| **Usage rule** | cErrorHandler is used separately<br>or as a middle or end component in a Route. If this component is<br>used separately, it will handle errors in all sub-routes. If this<br>component is used in the middle or end of a sub-route, it will only<br>handle exceptions that happen in the components of this sub-route,<br>either before or after the cErrorHandler. |
| Limitation | n/a |

**Related concepts**

* [Logging the exception thrown during a client/server talk](https://help.qlik.com/talend/en-US/mediation-components/8.0/mediation-logs-and-errors/cerrorhandler-cprocessor-cmessagingendpoint-cmessagingendpoint-logging-exception-thrown-during-client-server-talk)