Hi All,
I am using camel 2.9.2 and trying to rename the file . I Could append
anything to the  file as suffix using *move* parameter but found no way to
change complete file name after processing .
Below is the xml using to transfer the file through FTP 

<route id="ECLTransfer2">
                        
                        <from
uri="file://D:/incoming/ecl_out?filter=#eclFilter&amp;idempotent=true&amp;idempotentRepository=#eclFileStore&amp;delay=20000&amp;move=D:/Camel
Production/ecl_out_archieve/${file:name}.pdf&amp;recursive=true&amp;localWorkDirectory=C:/temp&amp;doneFileName=${file:name}.done"/>
                
                         <to uri="file://D:/processed?tempPrefix=Part_"/>
                        
                </route>

In the above case I am able to append pdf at the end of processed file but
want to change the complete file name.Please help me to sort this out .Thank
you in advance



--
View this message in context: 
http://camel.465427.n5.nabble.com/How-to-rename-the-file-using-spring-DSL-processed-through-FTP-tp5752199.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to