|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IdempotentRepository<E>
Access to a repository of Message IDs to implement the Idempotent Consumer pattern.
The add and contains methods is operating according to theSet
contract.
Method Summary | |
---|---|
boolean |
add(E key)
Adds the key to 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. |
Methods inherited from interface org.apache.camel.Service |
---|
start, stop |
Method Detail |
---|
boolean add(E key)
key
- the key of the message for duplicate test
boolean contains(E key)
key
- the key of the message
boolean remove(E key)
key
- the key of the message for duplicate test
boolean confirm(E key)
key
- the key of the message for duplicate test
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |