Hi Bela I have added the move feature to the SFTP part as well. Feel free to test it when you have time and report your findings.
I would like to know if the logging is to verbose if you move the file after consuming. If the operations fails for some reason it is logged at WARN level, but since the SFTP API hasn't a Boolean return value if the file was moved/deleted then I can be in doubt if the API throws an exception or not. So if you have time to test: - moving files to sub folders that doesn't exists - moving files where an existing file already exists (camel should try to delete the existing file first) - moving files to same folder Thanks a lot. You can report in JIRA at CAMEL-764 then I am sure to spot it. Med venlig hilsen Claus Ibsen ...................................... Silverbullet Skovsgårdsvænget 21 8362 Hørning Tlf. +45 2962 7576 Web: www.silverbullet.dk -----Original Message----- From: Bela [mailto:[EMAIL PROTECTED] Sent: 28. juli 2008 16:06 To: [email protected] Subject: RE: SftpProducer bug Sure, I'll test it, no problem. I'll create the test cases. In regard of the sophistication, being the same as the file endpoint would be nice. Since we have the "delete", actually these aren't the most important things to have. The delete was important so camel doesn't suck out the files again when you restart. Bela Claus Ibsen wrote: > > Hi Bela > > About the move > ============== > How sophisticated do you want the move operation? > > -- View this message in context: http://www.nabble.com/SftpProducer-bug-tp18640519s22882p18689214.html Sent from the Camel - Users mailing list archive at Nabble.com.
