camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Piotr Klimczak (JIRA)" <j...@apache.org>
Subject [jira] [Issue Comment Edited] (CAMEL-3867) camel-cache- improve ehcache configuration by reference RegisteredEventListeners
Date Thu, 14 Apr 2011 22:02:05 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-3867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020058#comment-13020058
] 

Piotr Klimczak edited comment on CAMEL-3867 at 4/14/11 10:00 PM:
-----------------------------------------------------------------

In my opinion it will be really useful. And of course I'll prepare the patch soon :)
For now configuring ehcache is very painful as there is no wildcards.

BTW. How can i change the docs or make a patch to Apache docs?

      was (Author: nannou9):
    In my opinion it will be really useful. And of course I'll prepare the patch :)
For now configuring ehcache is very painful as there is no wildcards.
  
> 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
>
> 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

Mime
View raw message