[ https://issues.apache.org/activemq/browse/CAMEL-2466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=57571#action_57571 ]
Claus Ibsen commented on CAMEL-2466: ------------------------------------ I have added option {{eagerDeleteTargetFile}} to the file producer. See updated wiki page (takes a couple of hours to be updated on the static html pages) http://camel.apache.org/file2.html > new option allowing to choose how to produce file using temp file > ----------------------------------------------------------------- > > Key: CAMEL-2466 > URL: https://issues.apache.org/activemq/browse/CAMEL-2466 > Project: Apache Camel > Issue Type: Improvement > Components: camel-ftp > Affects Versions: 2.3.0 > Reporter: Marco Crivellaro > Assignee: Claus Ibsen > Priority: Minor > > Current produce behavior is: > 1- delete final file (if existing) > 2- produce temporary file > 3- rename temporary to final > Using FTP component as a feed delivery system where most of the time the > producer is sending an update on a file I think it would be better producing > in such a way: > 1- produce temporary file > 2- delete final file > 3- rename temporary file to final > It would be great having an option allowing to choose which produce strategy > to use -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.