Skip to main content

Module idempotent

Module idempotent 

Source
Expand description

IdempotentRepository trait — pluggable key store for Idempotent Consumer EIP.

Contract C1: contains() returns Result<bool, CamelError> (NOT bool) because backends (Redis, JDBC) can have transient read failures. The Idempotent Consumer propagates Err, never treats a failed read as “not a duplicate.”

Traits§

IdempotentRepository
Pluggable key store for the Idempotent Consumer EIP (and similar patterns).