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

[jira] [Assigned] (CAMEL-15524) camel-caffeine: use cacheName to lookup cache instances from the registry

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

Luca Burgazzoli reassigned CAMEL-15524:
---------------------------------------

    Assignee: Luca Burgazzoli

> camel-caffeine: use cacheName to lookup cache instances from the registry
> -------------------------------------------------------------------------
>
>                 Key: CAMEL-15524
>                 URL: https://issues.apache.org/jira/browse/CAMEL-15524
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-caffeine
>            Reporter: Luca Burgazzoli
>            Assignee: Luca Burgazzoli
>            Priority: Minor
>             Fix For: 3.6.0
>
>
> The camel-caffeine component uri now has a path param that is used to set the cache name:
>     caffeine-cache://cacheName[?options]
> but the param is never taken into account and if you want to use a pre-configured cache from the registry, you need to add an additional option, like:
>      caffeine-cache://cacheName?cache=#myCache
> I think we can reuse the cacheName path param to lookup a cache from the registry and if not found, fall-back to creating an embedded one.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)