File consumer on completion should pre copy file information, in case end user messes with them later on --------------------------------------------------------------------------------------------------------
Key: CAMEL-4270 URL: https://issues.apache.org/jira/browse/CAMEL-4270 Project: Camel Issue Type: Improvement Components: camel-core Reporter: Claus Ibsen Assignee: Claus Ibsen Priority: Minor Fix For: 2.9.0 See nabble http://camel.465427.n5.nabble.com/file-move-option-not-working-when-using-split-tp4616425p4616425.html The file consumer uses an on completion to execute the delete/rename strategy after the file has been processed. For that to work it uses the file headers on the exchange. But the end user can in between tamper with those, and thus influence the on completion process. We should guard against this by having the on completion do a pre copy of the information it needs. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira