Claus,

   I just performed the test of using the uri of the <to/> and *it work*. 
So to clarify what I was doing and what does work.

So instead of using:

<endpoint id="ftpEndpoint"
uri="ftp://a...@ftp.sample.com/OUT/Test?fileName=file-${date:now:yyyyMMdd}.xml";
/>

<to uri="ftpEndpoint"/>

I changed it per your suggestion and it works.

<to
uri="ftp://a...@ftp.sample.com/OUT/Test?fileName=file-${date:now:yyyyMMdd}.xml"/>

Thanks for your help.

- Josh

--
View this message in context: 
http://camel.465427.n5.nabble.com/dynamic-filename-endpoint-tp5715076p5715115.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to