Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 56837 invoked from network); 14 Apr 2011 21:56:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Apr 2011 21:56:46 -0000 Received: (qmail 27258 invoked by uid 500); 14 Apr 2011 21:56:46 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 27230 invoked by uid 500); 14 Apr 2011 21:56:46 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 27222 invoked by uid 99); 14 Apr 2011 21:56:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Apr 2011 21:56:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Apr 2011 21:56:43 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id AEFCEA1C9F for ; Thu, 14 Apr 2011 21:56:05 +0000 (UTC) Date: Thu, 14 Apr 2011 21:56:05 +0000 (UTC) From: "Piotr Klimczak (JIRA)" To: dev@camel.apache.org Message-ID: <1618137088.59000.1302818165698.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (CAMEL-3867) camel-cache- improve ehcache configuration by reference RegisteredEventListeners MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org 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 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 SIMPLY! :) -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira