[ 
https://issues.apache.org/jira/browse/CAMEL-12041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16288888#comment-16288888
 ] 

Claus Ibsen commented on CAMEL-12041:
-------------------------------------

What is the value of this, you can just implement your own implementation of 
IdempotentRepository.

We have plenty of source code in camel-core.

> 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)

Reply via email to