...
- Dead Letter Channel which supports attempting to redeliver the message exchange a number of times before sending it to a dead letter endpoint
- LoggingErrorHandler for just catching and logging exceptions
- NoErrorHandler for no error handling
- Transaction for transactional error handling (Spring based). See the Transactional Client EIP pattern.
Tip | ||
---|---|---|
| ||
For introduction and background material see Error handling in Camel. |
Tip | ||
---|---|---|
| ||
Using Error Handler combined with Exception Clause is a very powerful ally. We encourage end-users to use this combination in your error handling strategies. See samples and Exception Clause. |
Note | ||
---|---|---|
| ||
If the route is transactional then the Dead Letter Channel is disabled. The | ||
Tip | ||
| ||
Using Error Handler combined with Exception Clause is a very powerful ally. We encourage end-users to use this combination in your error handling strategies. See samples and Exception Clause. |
These error handlers can be applied in the DSL to an entire set of rules or a specific routing rule as we show in the next examples. Error handling rules are inherited on each routing rule within a single RouteBuilder
...