You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "David Voit (Jira)" <ji...@apache.org> on 2023/05/22 12:43:00 UTC

[jira] [Created] (CAMEL-19378) File Changed ReadLock Strategy with minAge only looks for lastModified

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)