camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fs <>
Subject IdempotentConsumer; contains not called?
Date Thu, 20 Feb 2014 08:18:11 GMT
Created a custom IdempotentRepository implementation that uses MongoDB for
storing idempotent keys. It implements the
org.apache.camel.spi.IdempotentRepository interface.

Noticed that the contains method is not called when setting the eager option
to true. It seems to be the opposite to the javadoc comment.

     * Returns <tt>true</tt> if this repository contains the specified
     * <p/>
     * This operation is used if the option <tt>eager</tt> has been enabled.
     * @param key the key of the message
     * @return <tt>true</tt> if this repository contains the specified
    boolean contains(E key);

Any ideas why this is happening? 

Trying to get the Filter duplicate messages thing to work: (How to handle duplicate
messages in the route)

Using ServiceMix 4.5.3 and Camel 2.10.7

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message