Return-Path: X-Original-To: apmail-karaf-dev-archive@minotaur.apache.org Delivered-To: apmail-karaf-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F03A3102FE for ; Sat, 7 Sep 2013 13:53:50 +0000 (UTC) Received: (qmail 20923 invoked by uid 500); 7 Sep 2013 13:53:50 -0000 Delivered-To: apmail-karaf-dev-archive@karaf.apache.org Received: (qmail 20914 invoked by uid 500); 7 Sep 2013 13:53:49 -0000 Mailing-List: contact dev-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list dev@karaf.apache.org Received: (qmail 20906 invoked by uid 99); 7 Sep 2013 13:53:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Sep 2013 13:53:47 +0000 X-ASF-Spam-Status: No, hits=1.3 required=5.0 tests=URI_HEX X-Spam-Check-By: apache.org Received-SPF: error (athena.apache.org: local policy) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Sep 2013 13:53:43 +0000 Received: from ben.nabble.com ([192.168.236.152]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1VIIwg-0003Wc-Rk for dev@karaf.apache.org; Sat, 07 Sep 2013 06:53:02 -0700 Date: Sat, 7 Sep 2013 06:53:02 -0700 (PDT) From: "Uwe K." To: dev@karaf.apache.org Message-ID: <1378561982851-4029627.post@n3.nabble.com> In-Reply-To: <522B2512.9060305@nanthrax.net> References: <1378558190366-4029625.post@n3.nabble.com> <522B2512.9060305@nanthrax.net> Subject: Re: Issue with property-replacement and Camel-routes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi JB, thanks for the quick response. It would be great if you could add this. A workaround using another character won't be working if you define routes directly in blueprint (at least as I know). Best regards, Uwe. jbonofre wrote > Hi Uwe, >=20 > By default in Karaf (and Felix) Utils, ${} is replaced and there is no=20 > way to escape $. >=20 > It's a good addition, I will do that. > A workaround could be to use another kind of file, or use another=20 > character that you replace when you load the properties. >=20 > Regards > JB >=20 > On 09/07/2013 02:49 PM, Uwe K. wrote: >> Hello list, >> >> we ran into an issue while defining properties for Camel-routes: >> >> There seems to be no way to define a property with a value like >> "=3D?fileName\=3D${date\:now\:yyMMddHHmmssSSS}.txt" in a .cfg-File deplo= yed >> in >> the /etc-directory. >> We tried several escaping-strategies but none was successful. "${....}" >> is >> always replaced by "" (nothing), because there is of course no matching >> system- or configuration-property. >> >> Looking into the code (util/..../InterpolationHelper.java) there is no >> way >> to avoid the property-replacement (at least I see none). >> >> So shouldn't there be a way to escape such values (e.g. by using double >> dollar-sign)? >> >> Didn't anyone else run into this issue so far? >> >> Thanks a lot. >> >> >> Best regards, >> >> Uwe. >> >> >> >> -- >> View this message in context: >> http://karaf.922171.n3.nabble.com/Issue-with-property-replacement-and-Ca= mel-routes-tp4029625.html >> Sent from the Karaf - Dev mailing list archive at Nabble.com. >> >=20 > --=20 > Jean-Baptiste Onofr=C3=A9 > jbonofre@ > http://blog.nanthrax.net > Talend - http://www.talend.com -- View this message in context: http://karaf.922171.n3.nabble.com/Issue-with-= property-replacement-and-Camel-routes-tp4029625p4029627.html Sent from the Karaf - Dev mailing list archive at Nabble.com.