You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Rah <ra...@yahoo.com> on 2014/11/26 05:22:02 UTC
How to pass decrypted password from a bean to FTP uri using camel
spring DSL
Is there any way to pass the password dynamically to the FTP uri in camel
Spring DSL.
I tried in the following way which didn't work.Can some one please throw
some light to resolve this issue.
<bean id="rdmEncryptionUtil" class="com.test.enc.EncBean"/>
<camel:to
uri="{{ftp.client}}&password=#{encryptionBean.getDecryptedPwd({{ftp.password}})}&fileName=Temp.txt"/>
{{ftp.password}} will be in the encrypted form reading it from the
properties file.
Thanks in Advance
--
View this message in context: http://camel.465427.n5.nabble.com/How-to-pass-decrypted-password-from-a-bean-to-FTP-uri-using-camel-spring-DSL-tp5759613.html
Sent from the Camel - Users mailing list archive at Nabble.com.