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é
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to