public interface MessageIdCache
boolean checkUniquenessAndCacheId(String messageId)
messageIdfor uniqueness against previously encountered values and cache the ID. Note that the retention policy for previously encountered values is implementation specific.
messageId- the message ID to check for uniqueness and cache for future comparison
messageIdis not already in the cache