Luigi De Masi created CAMEL-22740:
-------------------------------------

             Summary: 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
            Reporter: Luigi De Masi
            Assignee: Luigi De Masi


 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