Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
Unknown
Description
Assume we have the FileComponent configured as follows:
- recursive=true
- filter=#DirectoryFilter
- readLockDeleteOrphanLockFiles=true
The FileComponent visits the whole directory tree in order to delete the orphaned marker lock files:
- This can takes a lot of time (especially if remote filesystem)
- And it is dangerous, because unwanted directories are visited too and may conflict with other processes.
The orphaned marker lock files procedure, should be close to the polling procedure (filter, include, exclude, antInclude, antExclude, ...)
Attachments
Issue Links
- relates to
-
CAMEL-8970 File consumer - Add option to turn on/off whether to delete orphaned marker lock files
- Resolved