[ 
https://issues.apache.org/jira/browse/CAMEL-22740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved CAMEL-22740.
---------------------------------
    Resolution: Fixed

> camel-smb - Simplify SMB file move operation to use atomic rename instead of 
> copy-then-delete strategy
> ------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-22740
>                 URL: https://issues.apache.org/jira/browse/CAMEL-22740
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-smb
>            Reporter: Luigi De Masi
>            Assignee: Luigi De Masi
>            Priority: Major
>             Fix For: 4.17.0
>
>
>  Currently, the SMB component's move operation implements file rename by:
>   1. Opening the destination file
>   2. Copying the source to destination using remoteCopyTo()
>   3. Deleting the source file via deleteOnClose()
>   This approach is inefficient and unnecessarily complex while 
> DiskEntry.rename uses the SMB2 SET_INFO command to make the operation atomic 
> and efficient.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to