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

camel-cache- improve ehcache configuration by reference RegisteredEventListeners and CacheLoaders

    XMLWordPrintableJSON

Details

    Description

      The thing is, that cache names can be a dynamic list. But ehcache is expecting to get static list (known before start) on it's xml configuration file. Ehcache provides some defaults config. for new caches with some exceptions. One of them are cache listeners (like replication listeners).
      So the thing is, to give ability to define listeners and cache loaders (via spring/blueprint ref.) during endpoint construction.
      This will ease configuration of listeners/loaders as xml static list of listeners (per cache) will not be needed anymore. Instead of very long list which you have to keep up to date, you could define one list of listeners/loaders for all cache endpoints!

      SO SIMPLE!

      Attachments

        1. camel-itest-osgi.CacheRouteManagementTest.patch
          6 kB
          Piotr Klimczak
        2. camel-itest-osgi.CacheRouteManagementTest.patch
          6 kB
          Piotr Klimczak
        3. camel-itest-osgi.CacheManagerFactoryRefTest.patch
          1 kB
          Piotr Klimczak
        4. camel-itest-osgi.CacheManagerFactoryRefTest.patch
          2 kB
          Piotr Klimczak
        5. camel-cache.cleanupAndLitenersRef.patch
          36 kB
          Piotr Klimczak
        6. camel-cache.cleanupAndLitenersRef.patch
          36 kB
          Piotr Klimczak

        Activity

          People

            njiang Willem Jiang
            nannou9 Piotr Klimczak
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: