Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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
titleException Clause

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

...