On Tue, Jun 26, 2012 at 2:11 PM, jtoepfer <[email protected]> wrote: > Claus, > > I was actually looking at the http://camel.apache.org/file2.html File2 > reference of creating a filename. I thought I should be able to do the same > with FTP, is that not correct? > > This was the File Language example given: mydata-${date:now:yyyyMMdd}.txt >
Yes that is also supported by ftp as well. There used to be a bug in older Camel release about setting that expression. I would have assumed its fixed in 2.7 though. Instead of using <endpoint> can you try using the uri directly in the <to>. And are you sure you are not using Spring property placeholders? > Thanks again for your help. > > -- > View this message in context: > http://camel.465427.n5.nabble.com/dynamic-filename-endpoint-tp5715076p5715110.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.com Author of Camel in Action: http://www.manning.com/ibsen
