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:50:00 UTC

[jira] [Assigned] (CAMEL-14467) camel-jcache - Dynamically bypass the cache for lookups

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

Claus Ibsen reassigned CAMEL-14467:
-----------------------------------

    Assignee:     (was: Dmitry Volodin)

> camel-jcache - Dynamically bypass the cache for lookups
> -------------------------------------------------------
>
>                 Key: CAMEL-14467
>                 URL: https://issues.apache.org/jira/browse/CAMEL-14467
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-jcache
>    Affects Versions: 3.0.1
>            Reporter: Jens Kleine-Herzbruch
>            Priority: Minor
>             Fix For: 3.x
>
>         Attachments: bypass.diff
>
>
> Currently, the JCachePolicy can only enabled or disable the cache completely at startup.
>  
> It would be useful to be able to enable or disable caching per request, though. This change adds a new property "bypassExpression". If this expression is set and returns true, the cache is ignored for lookup, the underlying route is executed as normal, and the returned value is inserted in the cache for future lookups.



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