Dec 21st, 2011, 02:52 AM
ftp:outbound : how to remove temp suffix behaviour
I'm quite new to Spring Integration..
I have a little problem. I need to send a file to a FTP server which "consume" (dispatching internally to other web apps..) all the files sent to it. I can not change this behaviour.
In this environment, the out-of-the box ftp:outbound behaviour fails, being unable to remotely move the temporary upload file (the one with ".writing" suffix) to the final name one, because of target system file consumption.
I need to switch off this behaviour but I can't find out how, because of a standard MessageHandler implementation, which first uploads the file with temp suffix and then renames it with the expected final name.
Do you have any suggestion about it?
Thanks a lot!
Jan 16th, 2012, 09:30 AM
Tags for this Thread