December 2013
Intermediate to advanced
424 pages
9h 7m
English
When dealing with external systems, it is often necessary to ensure that the same request is not sent multiple times—a process often called deduplication.
Camel implements the Idempotent Consumer EIP, which allows you to mark a segment of a route as callable only once for each unique message. This is useful if it is possible for your route to receive duplicate messages, either from an upstream system or from the underlying infrastructure (for example, through a message queue configured for redelivery on failure), and you want to protect routing logic that is intolerant of duplicates.
This recipe explains how to make portions of your route idempotent in Camel.
The Java code for this recipe ...
Read now
Unlock full access