Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 4550 invoked from network); 20 Jul 2009 19:45:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Jul 2009 19:45:18 -0000 Received: (qmail 42531 invoked by uid 500); 20 Jul 2009 19:46:23 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 42474 invoked by uid 500); 20 Jul 2009 19:46:23 -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 42464 invoked by uid 99); 20 Jul 2009 19:46:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Jul 2009 19:46:23 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of hzbarcea@gmail.com designates 209.85.210.179 as permitted sender) Received: from [209.85.210.179] (HELO mail-yx0-f179.google.com) (209.85.210.179) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Jul 2009 19:46:12 +0000 Received: by yxe9 with SMTP id 9so3882018yxe.30 for ; Mon, 20 Jul 2009 12:45:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=XZEVRH30Y/G2R1HZR06GrWp67bgO5m6SmUj7cGpPRLQ=; b=UQsJNrMUZ8OtnvJ4uNOD5u4K2QIQRskkwkqV+tfY8Oq3xBjdT7VTmxPuubP0DYjg+v Mztx24gYbElaI0hDZHvkrMKOKesPguZR3kr8gFqKBBdQWjPB5xzJaZfsNRlUXRB3p9R3 tn2pLRso4IgGumi/EwsBcbXZdPg1yawcLg+Jg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=VkTMIJ3xUDNBOwKWSByPq+7QV0/p5fjYy4BdhZudQs9FkMOqamZU7Y2+yipaLeh692 B+67pwrFKQA6La7lSH0WGNbFLCTnMbSDk4Oy3yTW4zQEu0Jy7dodyLFRg6Z10cD9SYm0 0eBwadFK9evzhzHJOrQwfm7Ta+sH8H5hFP9co= Received: by 10.90.66.10 with SMTP id o10mr158005aga.31.1248119145069; Mon, 20 Jul 2009 12:45:45 -0700 (PDT) Received: from ?10.40.58.124? ([97.66.146.210]) by mx.google.com with ESMTPS id 10sm3561126agb.36.2009.07.20.12.45.44 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 20 Jul 2009 12:45:44 -0700 (PDT) Message-Id: <46C3C814-39A3-4A35-AE03-4DC137252469@gmail.com> From: Hadrian Zbarcea To: dev@camel.apache.org In-Reply-To: <24576074.post@talk.nabble.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Subject: Re: constant in setProperty is not compatible with property-placeholder Spring context Date: Mon, 20 Jul 2009 15:45:43 -0400 References: <24576074.post@talk.nabble.com> X-Mailer: Apple Mail (2.935.3) X-Virus-Checked: Checked by ClamAV on apache.org Yeah we use this all the time http://camel.apache.org/how-do-i-use-spring-property-placeholder-with-camel-xml.html Do you have your PropertyPlaceholderConfigurer properly defined? Hadrian On Jul 20, 2009, at 3:31 PM, fjaouen wrote: > > Hi, > > I want to set a constant which is a Spring context property- > placeholder. But > it seems Camel is not able to deal with ? > > For instance I would like to say: > > > ${myusername} > > > Instead of hardcoding it into my Camel configuration like this which > is less > dynamic: > > > john > > > Is there a way to do it ? > > Thanks ! > -- > View this message in context: http://www.nabble.com/constant-in-setProperty-is-not-compatible-with-property-placeholder-Spring-context-tp24576074p24576074.html > Sent from the Camel Development mailing list archive at Nabble.com. >