Luca Burgazzoli created CAMEL-15524:
---------------------------------------
Summary: 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
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)