[
https://issues.apache.org/jira/browse/CAMEL-14467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dmitry Volodin updated CAMEL-14467:
-----------------------------------
Fix Version/s: 3.x
> 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
> Assignee: Dmitry Volodin
> Priority: Major
> 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.3.4#803005)