Error handling and monitoring (Advanced)

Integrating disparate applications through asynchronous messaging increases the possibility of failures, and makes error handling a mandatory part of every integration application. Camel offers a couple of mechanisms for handling and recovering from error conditions. In this tutorial, we will use Dead Letter Channel that retries failing requests and if the error remains, moves the failing message to a Dead Letter Queue (DLQ).

Error handling and monitoring (Advanced)

Getting ready

The complete source code for this tutorial is located under the project camel-message-routing-examples/error-handling.

How to do it...

An error handler can either be global, ...

Get Instant Apache Camel Message Routing now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.