Return-Path: Delivered-To: apmail-camel-users-archive@www.apache.org Received: (qmail 75814 invoked from network); 7 Oct 2010 12:29:48 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 7 Oct 2010 12:29:48 -0000 Received: (qmail 17624 invoked by uid 500); 7 Oct 2010 12:29:48 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 17255 invoked by uid 500); 7 Oct 2010 12:29:46 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 16543 invoked by uid 99); 7 Oct 2010 12:29:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Oct 2010 12:29:45 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [131.239.30.132] (HELO ntmamx2.progress.com) (131.239.30.132) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Oct 2010 12:29:37 +0000 Received: from ntmamx2.progress.com (127.0.0.1) by ntmamx2.progress.com (MlfMTA v3.2r9) id hlmuj80171sc for ; Thu, 7 Oct 2010 08:29:19 -0400 (envelope-from ) Received: from progress.com ([172.16.3.168]) by ntmamx2.progress.com (SonicWALL 7.2.3.3283) with ESMTP (AIO); Thu, 07 Oct 2010 08:29:19 -0400 Received: from NTMAEXCAS02.bedford.progress.com (ntmaexcas02-lb [10.128.13.39]) by progress.com (8.13.8/8.13.8) with ESMTP id o97CTHU6010113 for ; Thu, 7 Oct 2010 08:29:17 -0400 (EDT) Received: from [192.168.20.4] (10.133.60.79) by NTMAEXCAS02.bedford.progress.com (10.128.13.37) with Microsoft SMTP Server (TLS) id 8.2.213.0; Thu, 7 Oct 2010 08:29:16 -0400 Message-ID: <4CADBD1B.2090605@progress.com> Date: Thu, 7 Oct 2010 13:29:15 +0100 From: Adrian Trenaman User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4 MIME-Version: 1.0 To: Subject: Re: property-placeholder and classpath References: <1286450174403-3202843.post@n5.nabble.com> <1286453492091-3202906.post@n5.nabble.com> In-Reply-To: <1286453492091-3202906.post@n5.nabble.com> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-EMS-Proccessed: +CmIlJ+kdV7Z341JADFd9w== X-EMS-STAMP: 7/B0JkUY1+CLxcmTLecDtg== X-Mlf-Version: 7.2.3.3283 X-Mlf-UniqueId: o201010071229190397328 X-Virus-Checked: Checked by ClamAV on apache.org Hi Hossein, Sorry for coming in late on this topic. Have you tried just using a Spring PropertyPlaceHolder configurer? Then, if you're deploying into ServiceMix, you can just use ${karaf.home}/etc/my.properties in one of the locations. /Ade On 07/10/2010 13:11, Hossein wrote: > Thanks Claus. It seems an awful lot to go through to make OSGify this. Is > there anyway to load properties from a folder rather than classpath? If this > is possible, atleast I can just stop, start bundle so that it would pick-up > the new properties file. > > Does camel 2.3 work differently or is it same concept? > > Thanks > Hossein