You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2022/09/02 11:46:00 UTC

[jira] [Resolved] (CAMEL-14281) Support sync reads/read locking in JCachePolicyProcessor

     [ https://issues.apache.org/jira/browse/CAMEL-14281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-14281.
---------------------------------
    Resolution: Abandoned

> Support sync reads/read locking in JCachePolicyProcessor
> --------------------------------------------------------
>
>                 Key: CAMEL-14281
>                 URL: https://issues.apache.org/jira/browse/CAMEL-14281
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-jcache
>    Affects Versions: 3.0.0
>            Reporter: Jens Kleine-Herzbruch
>            Priority: Major
>             Fix For: 3.x
>
>
> Currently, if two requests for the same cache key come in simultaneously, both requests will execute the route decorated with the cache policy. If this route includes expensive calculations/integrations this may be undesirable. Instead, only the first request should kick off the real route, and the second should block on the cache read until the result of the first route has entered the cache.
>  
> Spring, for example, supports this with the "sync" parameter on @Cacheable.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)