You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Luigi De Masi (Jira)" <ji...@apache.org> on 2025/11/28 15:45:00 UTC
[jira] [Created] (CAMEL-22740) camel-smb - Simplify SMB file move operation to use atomic rename instead of copy-then-delete strategy
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)