Skip to content

Conversation

artembilan
Copy link
Member

Fixes #3557

  • Expose a watchMaxDepth on the FileReadingMessageSource for its Files.walkFileTree() API usage
  • Add watchDirPredicate option ot the FileReadingMessageSource to skip sub-tree for Files.walkFileTree() scanning according to some condition against directory Path

Fixes spring-projects#3557

* Expose a `watchMaxDepth` on the `FileReadingMessageSource` for its `Files.walkFileTree()` API usage
* Add `watchDirPredicate` option ot the `FileReadingMessageSource` to skip sub-tree for `Files.walkFileTree()`
scanning according to some condition against directory `Path`
Copy link
Contributor

@garyrussell garyrussell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just doc polishing and waiting for green.

Co-authored-by: Gary Russell <[email protected]>
@garyrussell garyrussell merged commit 053cc00 into spring-projects:main Apr 13, 2023
@artembilan artembilan deleted the GH-3557 branch April 13, 2023 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Files.inboundAdapter watchService - ignore subdirectories

2 participants