This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 6c3a9633a5ff CAMEL-24123: camel-smb - Fix readLock=changed with 
recursive=true (#24789)
6c3a9633a5ff is described below

commit 6c3a9633a5ffd42c29f47200435390e74ae81b61
Author: Claus Ibsen <[email protected]>
AuthorDate: Thu Jul 16 15:40:34 2026 +0200

    CAMEL-24123: camel-smb - Fix readLock=changed with recursive=true (#24789)
    
    Co-Authored-By: Claude Opus 4.6 <[email protected]>
---
 .../apache/camel/component/smb/strategy/SmbExclusiveReadLockCheck.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/components/camel-smb/src/main/java/org/apache/camel/component/smb/strategy/SmbExclusiveReadLockCheck.java
 
b/components/camel-smb/src/main/java/org/apache/camel/component/smb/strategy/SmbExclusiveReadLockCheck.java
index 67fba1b0db11..efe1e2b39f1b 100644
--- 
a/components/camel-smb/src/main/java/org/apache/camel/component/smb/strategy/SmbExclusiveReadLockCheck.java
+++ 
b/components/camel-smb/src/main/java/org/apache/camel/component/smb/strategy/SmbExclusiveReadLockCheck.java
@@ -84,7 +84,7 @@ public class SmbExclusiveReadLockCheck {
 
         String path = file.getParent();
         if (operations instanceof SmbOperations smbOperations) {
-            return smbOperations.listFiles(path, file.getFileName());
+            return smbOperations.listFiles(path, file.getFileNameOnly());
         }
         return operations.listFiles(path);
     }

Reply via email to