davsclaus opened a new pull request, #24789:
URL: https://github.com/apache/camel/pull/24789

   _Claude Code on behalf of davsclaus_
   
   ## Summary
   
   - Fix `readLock=changed` with `recursive=true` never consuming files in 
sub-directories
   - `SmbExclusiveReadLockCheck.getSmbFiles()` was passing `file.getFileName()` 
(relative path, e.g. `sub/hello.txt`) as the SMB search pattern instead of 
`file.getFileNameOnly()` (plain name, e.g. `hello.txt`)
   - SMB QueryDirectory search patterns must be plain names/wildcards; a 
pattern containing a path separator matches nothing, so the lock check always 
saw `newLength=0 < minLength` and the read lock was never acquired
   
   ## Test plan
   
   - [ ] Verify build passes: `cd components/camel-smb && mvn install 
-DskipTests`
   - [ ] Run existing camel-smb tests: `cd components/camel-smb && mvn test`
   - [ ] Verify with `recursive=true` and `readLock=changed` that files in 
sub-directories are consumed
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   
   Co-Authored-By: Claude Opus 4.6 <[email protected]>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to