Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 30689 invoked from network); 8 Apr 2011 21:58:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Apr 2011 21:58:44 -0000 Received: (qmail 76176 invoked by uid 500); 8 Apr 2011 21:58:44 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 76143 invoked by uid 500); 8 Apr 2011 21:58:44 -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 76135 invoked by uid 99); 8 Apr 2011 21:58:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Apr 2011 21:58:44 +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; Fri, 08 Apr 2011 21:58: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 BEE6099396 for ; Fri, 8 Apr 2011 21:58:05 +0000 (UTC) Date: Fri, 8 Apr 2011 21:58:05 +0000 (UTC) From: "Piotr Klimczak (JIRA)" To: dev@camel.apache.org Message-ID: <1891672441.45245.1302299885778.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <171091327.43862.1302272045656.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (CAMEL-3849) No possibility to enable ehcache clustering as: ehcache.xml is ignored and there is no possibility to set cacheManagerFactory described camel-cache docs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-3849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Piotr Klimczak updated CAMEL-3849: ---------------------------------- Description: This bug is caused by more than one problem as: 1. camel-cache bundle provides ehcache.xml config which is ignored so then default ehcache-failsafe.xml is taken by ehcache bundle. 2. according to camel-cache docs there is a way to set cacheManagerFactory but it seems to be not implemented as a) default CacheManagerFactory instance is created when when CacheComponent is instantiated. b) setter method: public void setCacheManagerFactory(CacheManagerFactory cacheManagerFactory) is used just nowhere. c) there is no suitable filed in class CacheConfiguration All above problems cause camel-cache to be not able to work in java- clustered world as default failsafe config. is really failsafe- w/o clustering. was: This bug seems to be more than one problem as: 1. camel-cache bundle provides ehcache.xml config which is ignored so then default ehcache-failsafe.xml is taken by ehcache bundle. 2. according to camel-cache docs there is a way to set cacheManagerFactory but it seems to be not implemented as a) default CacheManagerFactory instance is created when when CacheComponent is instantiated. b) setter method: public void setCacheManagerFactory(CacheManagerFactory cacheManagerFactory) is used just nowhere. c) there is not suitable filed in class CacheConfiguration All above problems cause camel-cache to be not able to work in java- clustered world as default failsafe config. is really failsafe- w/o clustering. > No possibility to enable ehcache clustering as: ehcache.xml is ignored and there is no possibility to set cacheManagerFactory described camel-cache docs > -------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: CAMEL-3849 > URL: https://issues.apache.org/jira/browse/CAMEL-3849 > Project: Camel > Issue Type: Bug > Components: camel-cache > Affects Versions: 2.6.0, 2.7.0 > Environment: any > Reporter: Piotr Klimczak > Labels: cacheManagerFactory, camel-cache, cluster, clustering, osgi > > This bug is caused by more than one problem as: > 1. camel-cache bundle provides ehcache.xml config which is ignored so then default ehcache-failsafe.xml is taken by ehcache bundle. > 2. according to camel-cache docs there is a way to set cacheManagerFactory but it seems to be not implemented as > a) default CacheManagerFactory instance is created when when CacheComponent is instantiated. > b) setter method: public void setCacheManagerFactory(CacheManagerFactory cacheManagerFactory) is used just nowhere. > c) there is no suitable filed in class CacheConfiguration > All above problems cause camel-cache to be not able to work in java- clustered world as default failsafe config. is really failsafe- w/o clustering. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira