org.apache.camel.processor.idempotent
Interface MessageIdRepository

All Known Implementing Classes:
MemoryMessageIdRepository

public interface MessageIdRepository

Access to a repository of Message IDs to implement the Idempotent Consumer pattern.

Version:
$Revision: 35332 $

Method Summary
 boolean contains(String messageId)
          Returns true if this messageId has been processed before otherwise this messageId is added to the repository and false is returned.
 

Method Detail

contains

boolean contains(String messageId)
Returns true if this messageId has been processed before otherwise this messageId is added to the repository and false is returned.

Parameters:
messageId - the String ID of the message
Returns:
true if the message has been processed succesfully before otherwise false


Copyright © 2008 IONA Open Source Community. All Rights Reserved.