THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
Error Handler
Camel supports pluggable ErrorHandler strategies to deal with errors processing an Event Driven Consumer. An alternative is to specify the error handling directly in the DSL using the Exception Clause.
...
Tip | ||
---|---|---|
| ||
Using Error Handler combined with Exception Clause is a very powerful allycombination. We encourage end-users to use this combination in your error handling strategies. See samples and Exception Clause. |
...
- DefaultErrorHandler is the default error handler in Camel 2.0 onwards. This error handler does not support a deal letter queue, it will propagate exceptions back to the caller, as if there where no error handler at all. It has a limited set of features.
- 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
Transacted
- TransactionErrorHandler is the default error handler in Camel 2.0 onwards for transacted routes.Transaction for transactional error handling (Spring based). See the Transactional Client EIP pattern.
...