[ 
https://issues.apache.org/jira/browse/CAMEL-6458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13954393#comment-13954393
 ] 

ASF GitHub Bot commented on CAMEL-6458:
---------------------------------------

GitHub user gzurowski opened a pull request:

    https://github.com/apache/camel/pull/124

    CAMEL-6458: Add renameUsingCopy option to File Component

    The new renameUsingCopy option controls whether rename operations are
    performed using a copy and delete strategy. This is primarily used in
    environments where the regular rename operation is unreliable (e.g.
    across different file systems and networks).
    
    Signed-off-by: Gregor Zurowski <[email protected]>

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/gzurowski/camel CAMEL-6458

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/124.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #124
    
----
commit 0f3539682b54900fdcfb815fbc717659d3a6d2a2
Author: Gregor Zurowski <[email protected]>
Date:   2014-03-29T18:33:04Z

    CAMEL-6458: Add renameUsingCopy option to File Component
    
    The new renameUsingCopy option controls whether rename operations are
    performed using a copy and delete strategy. This is primarily used in
    environments where the regular rename operation is unreliable (e.g.
    across different file systems and networks).
    
    Signed-off-by: Gregor Zurowski <[email protected]>

commit daed640eb32c40a291482fb2a1b5015aeffb07f6
Author: Gregor Zurowski <[email protected]>
Date:   2014-03-29T18:48:10Z

    CAMEL-6458: Add tests for renameUsingCopy option
    
    Signed-off-by: Gregor Zurowski <[email protected]>

----


> Add option renameUsingCopy option to file component
> ---------------------------------------------------
>
>                 Key: CAMEL-6458
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6458
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Gregor Zurowski
>            Priority: Minor
>             Fix For: Future
>
>
> See
> http://camel.465427.n5.nabble.com/File-Component-Default-rename-behaviour-tp5734024p5734026.html
> We have a fallback that goes back to copy if rename fails. But its slower etc.
> So if you need you are renaming between different file systems / OSes / LAN 
> etc it may be better to tell Camel to use a copy strategy for rename.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to