Versions Compared

Key

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

...

Camel supports pluggable ErrorHandler strategies .
to deal with errors processing an Event Driven Consumer. Some current implementations include

  • 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

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 examlpes.

Setting global error handlers

...