[
https://issues.apache.org/jira/browse/CAMEL-3867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020757#comment-13020757
]
Piotr Klimczak commented on CAMEL-3867:
---------------------------------------
This patch is a continuation of bringing camel-cache to clustered world. I
guess 75% is already done. Those 25% is:
- making a patch to smx ehcache bundle (done but patch not prepared yet, will
upload the patch in parallel with below osgi unit test)
- provide osgi unit test to test jms replication (not started yet)
Then I will prepare a working example for tutorial purpose and of course a full
tutorial telling about how to use ehcache and replication in real life :)
> camel-cache- improve ehcache configuration by reference
> RegisteredEventListeners
> --------------------------------------------------------------------------------
>
> Key: CAMEL-3867
> URL: https://issues.apache.org/jira/browse/CAMEL-3867
> Project: Camel
> Issue Type: Improvement
> Components: camel-cache
> Environment: Osgi/Spring based
> Reporter: Piotr Klimczak
> Priority: Minor
> Labels: camel-cache, ehcache, improvement, listener, replication
> Attachments: camel-cache.cleanupAndLitenersRef.txt,
> camel-itest-osgi.CacheManagerFactoryRefTest.patch,
> camel-itest-osgi.CacheRouteManagementTest.patch
>
>
> 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 (via spring/blueprint
> ref.) during endpoint construction.
> This will ease configuration of listeners 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 for all cache
> endpoints!
> SO SIMPLE! :)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira