Skip to content

GH-3557: Add maxDepth, dirPredicate to FileReadMS #8596

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 13, 2023

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