Hi,

It doesn't work by using properties file, this is what i tried :

In my route,

fromF("ftp://{{user.name}}:%s@xxxxxx//echange/MassPayment/IN/?noop=false&initialDelay=0&idempotent=true&stepwise=false";,
decryptedPwd)     -->  OK, it works !

but if i use my properties file :

fromF("{{source.endpoint.1}}", decryptedPwd) in my route,  with from my
properties file,
source.endpoint.1=ftp://${user.name}:%s@xxxxxx//echange/MassPayment/IN/?noop=false&initialDelay=0&idempotent=true&stepwise=false
 
it doesn't work,

it's as if %s is just text, not the decryptedPwd value

I try with :

source.endpoint.1=ftp://${user.name}:{{%s}}@xxxxxx//echange/MassPayment/IN/?noop=false&initialDelay=0&idempotent=true&stepwise=false

or 

source.endpoint.1=ftp://${user.name}:$simple{%s}@xxxxxx//echange/MassPayment/IN/?noop=false&initialDelay=0&idempotent=true&stepwise=false


but it doesn't work


Thank's for your help




--
View this message in context: 
http://camel.465427.n5.nabble.com/set-property-before-starting-tp5744088p5744177.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to