public interface IdempotentRepository<E> extends Service
Set
contract.
The repository supports eager (default) and non-eager mode.
ExchangeIdempotentRepository
instead.ExchangeIdempotentRepository
Modifier and Type | Method and Description |
---|---|
boolean |
add(E key)
Adds the key to the repository.
|
void |
clear()
Clear the repository.
|
boolean |
confirm(E key)
Confirms the key, after the exchange has been processed successfully.
|
boolean |
contains(E key)
Returns true if this repository contains the specified element.
|
boolean |
remove(E key)
Removes the key from the repository.
|
boolean add(E key)
key
- the key of the message for duplicate testboolean contains(E key)
key
- the key of the messageboolean remove(E key)
key
- the key of the message for duplicate testboolean confirm(E key)
key
- the key of the message for duplicate testvoid clear()
Apache Camel