You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Jeremy Ross (Jira)" <ji...@apache.org> on 2021/01/25 15:19:00 UTC

[jira] [Created] (CAMEL-16078) IdempotentConsumer + MemoryIdempotentRepository allows duplicates

Jeremy Ross created CAMEL-16078:
-----------------------------------

             Summary: IdempotentConsumer + MemoryIdempotentRepository allows duplicates
                 Key: CAMEL-16078
                 URL: https://issues.apache.org/jira/browse/CAMEL-16078
             Project: Camel
          Issue Type: Bug
          Components: came-core
    Affects Versions: 3.7.1
            Reporter: Jeremy Ross


In certain scenarios, it seems that IdempotentConsumer is allowing duplicate message to pass. In the test case below, with a cache size of 50, duplicate message within a few messages of each other are allowed to pass. 

Test case: https://gist.github.com/jeremyross/d76f658767b4f476f93a12f9067ed515



--
This message was sent by Atlassian Jira
(v8.3.4#803005)