Hi, I'm looking for example of how to rename the file on FTP. My scenario:
1. marshal message to the HUGE XML file 2. upload file to FTP with temp name (myFile.tmp) 3. when the upload is complete rename myFile.tmp to myFile.xml There is good docs on http://camel.apache.org/file2.html but it does not help I use spring xml configuration: <camel:from uri="seda:myService"></camel:from> <camel:convertBodyTo type="myObjectOutput"/> <camel:marshal> <camel:jaxb contextPath="myPath"/> </camel:marshal> <camel:to uri="ftp://username:[email protected]:21/folder?tempFileName=myFile.tmp&move=myFile.xml"></camel:to> </camel:route> </camel:camelContext> Please help! It would be nice to have a real example in documentation Thank you! -- View this message in context: http://camel.465427.n5.nabble.com/How-to-rename-file-on-FTP-example-tp5778311.html Sent from the Camel Development mailing list archive at Nabble.com.
