karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe K." <Kort...@t-online.de>
Subject Re: Issue with property-replacement and Camel-routes
Date Sat, 07 Sep 2013 13:53:02 GMT
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,
> 
> By default in Karaf (and Felix) Utils, ${} is replaced and there is no 
> way to escape $.
> 
> It's a good addition, I will do that.
> A workaround could be to use another kind of file, or use another 
> character that you replace when you load the properties.
> 
> Regards
> JB
> 
> 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
>> "=?fileName\=${date\:now\:yyMMddHHmmssSSS}.txt" in a .cfg-File deployed
>> 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-Camel-routes-tp4029625.html
>> Sent from the Karaf - Dev mailing list archive at Nabble.com.
>>
> 
> -- 
> Jean-Baptiste Onofré

> 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.

Mime
View raw message