David Voit created CAMEL-19378:
----------------------------------
Summary: File Changed ReadLock Strategy with minAge only looks for
lastModified
Key: CAMEL-19378
URL: https://issues.apache.org/jira/browse/CAMEL-19378
Project: Camel
Issue Type: Improvement
Components: camel-file
Reporter: David Voit
If a file is copied with the original lastModified date, files are processes
instantly. Also the file change detection is disabled if a copy takes more than
minAge time. Instead of comparing startTime with lastModified on each iteration
we are comparing it with now(). If files are created anew this should be the
same behaviour, and files copied with preserved lastModifed are still correctly
checked.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)