public interface ExchangeIdempotentRepository<E> extends IdempotentRepository<E>
Set
contract.
The repository supports eager (default) and non-eager mode.
IdempotentRepository
parameterized,
as it should have been a pre-configured to use a String type.Modifier and Type | Method and Description |
---|---|
boolean |
add(Exchange exchange,
E key)
Adds the key to the repository.
|
boolean |
confirm(Exchange exchange,
E key)
Confirms the key, after the exchange has been processed successfully.
|
boolean |
contains(Exchange exchange,
E key)
Returns true if this repository contains the specified element.
|
boolean |
remove(Exchange exchange,
E key)
Removes the key from the repository.
|
boolean add(Exchange exchange, E key)
key
- the key of the message for duplicate testboolean contains(Exchange exchange, E key)
key
- the key of the messageboolean remove(Exchange exchange, E key)
key
- the key of the message for duplicate testApache Camel