GitHub user crivetechie opened a pull request:
https://github.com/apache/camel/pull/24
New FileExist option for File component: TryRename
This patch introduces a new FileExist option for File component which works
great when using on an FTP producer:
the producer won't check if the file exists (sometime this is taking a long
time) on the destination endpoint and simply rename it after the temporary file
has been deployed. Most of FTP server implementation will overwrite the final
file in case this already exists.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/crivetechie/camel camel-2.11.0-patched
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/24.patch