camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marc Carter (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-12041) Introduce ConcurrentMapIdempotentRepository and MapIdempotentRepository
Date Sun, 26 Nov 2017 23:07:00 GMT
Marc Carter created CAMEL-12041:
-----------------------------------

             Summary: Introduce ConcurrentMapIdempotentRepository and MapIdempotentRepository
                 Key: CAMEL-12041
                 URL: https://issues.apache.org/jira/browse/CAMEL-12041
             Project: Camel
          Issue Type: Improvement
          Components: camel-core
    Affects Versions: 2.20.1
            Reporter: Marc Carter
            Priority: Trivial


In order to more generically plug in third-party data fabrics, Camel should directly support
the ConcurrentMap interface.

1 Add an explicit ConcurrentMapIdempotentRepository (which does away with synchronized blocks
around the backing map) 
2 Factor our MapIdempotentRepository from MemoryIdempotentRepository (being based on a Map
_interface_ doesn't make it "memory" - only the default LRUCache impls are definitively "memory")
3 Make some sense of the tests around this EIP



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message