You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2011/07/26 15:35:09 UTC
[jira] [Created] (CAMEL-4270) File consumer on completion should
pre copy file information, in case end user messes with them later on
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
[jira] [Resolved] (CAMEL-4270) File consumer on completion should
pre copy file information, in case end user messes with them later on
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-4270.
--------------------------------
Resolution: Not A Problem
The current logic is fine, the file is being bound to the exchange before its being renamed/deleted.
The end user forgot to close file resources and therefore windows would not move the file when it was done. After fixing this it worked fine.
> 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