See this FAQ http://camel.apache.org/how-do-i-use-dynamic-uri-in-to.html
And you may want to use the disconnect=true option on the FTP uri, to logout after usage. On Wed, Dec 7, 2011 at 11:51 AM, Spalat <[email protected]> wrote: > I'm using camel-context.xml to construct FTP endpoints . Currently i'm > hardcoding the username and password in the FTP uri . Is it possible to > change them in the FTP uri dynamically on each request. ? > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Dynamic-URI-creation-in-apache-camel-tp5055155p5055182.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- FuseSource Email: [email protected] Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/
