[
https://issues.apache.org/jira/browse/CAMEL-19378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen updated CAMEL-19378:
--------------------------------
Fix Version/s: 3.20.6
3.21.0
4.0-RC1
4.0
> 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
> Priority: Minor
> Fix For: 3.20.6, 3.21.0, 4.0-RC1, 4.0
>
>
> 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)