Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-15524

camel-caffeine: use cacheName to lookup cache instances from the registry

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.6.0
    • camel-caffeine
    • None
    • Unknown

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              lb Luca Burgazzoli
              lb Luca Burgazzoli
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: