[
https://issues.apache.org/activemq/browse/CAMEL-2879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=60356#action_60356
]
Willem Jiang commented on CAMEL-2879:
-------------------------------------
If the user specify the delete=true and moveFailed=error, the failed File will
be moved into error directory.
> file component - Support using delete=true and moveFailed option at the same
> time
> ---------------------------------------------------------------------------------
>
> Key: CAMEL-2879
> URL: https://issues.apache.org/activemq/browse/CAMEL-2879
> Project: Apache Camel
> Issue Type: Improvement
> Components: camel-core
> Reporter: Claus Ibsen
> Assignee: Willem Jiang
> Fix For: 2.4.0
>
>
> The file strategies was not designed to be as flexible as we may want them
> today, when introducing more and more options to dictate what should happens
> with the files when success or failure.
> As we got
> - noop
> - delete
> - move
> - moveFailed
> etc. you may combine then in ways in which we current doesn't support.
> You should be able to say that if OK then just delete the file, but if ERROR
> then move it to this error folder instead.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.