This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
commit 6c0d0210bd9db440d95fe80056a338cef4652ef7 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Sat Oct 21 12:38:51 2023 +0200 CAMEL-20023: camel-file - File readLock changed minAge issue --- .../modules/ROOT/pages/camel-4-migration-guide.adoc | 11 +++++++++++ .../modules/ROOT/pages/camel-4x-upgrade-guide-4_2.adoc | 8 ++++++++ 2 files changed, 19 insertions(+) diff --git a/docs/user-manual/modules/ROOT/pages/camel-4-migration-guide.adoc b/docs/user-manual/modules/ROOT/pages/camel-4-migration-guide.adoc index aeeca720ea5..13f5c3fd2ba 100644 --- a/docs/user-manual/modules/ROOT/pages/camel-4-migration-guide.adoc +++ b/docs/user-manual/modules/ROOT/pages/camel-4-migration-guide.adoc @@ -511,6 +511,17 @@ If the route or consumer is suspended then http status 503 is now returned inste The component was updated to use Twitter4j version 4.1.2, which https://twitter4j.org/2022/10/21/264[has moved the packages] used by a few of its classes. If accessing certain twitter-related data, such as the Twit status, you need to update the packages used from `twitter4j.Status` to `twitter4j.v1.Status`. +== Upgrading Camel 4.0.1 to 4.0.2 + +=== camel-file + +The `readLock=changed` with using `readLockMinAge` has been restored to same behaviour as 3.x. + +For example using `readLockMinAge=5s` would pickup files that are older than 5 seconds from startup time. +If you have many existing files on startup that are old, then Camel will now again be fast, +and pickup these files immediately. + + == Upgrading Camel 4.0.0 to 4.0.1 === camel-aws2-sns diff --git a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_2.adoc b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_2.adoc index 91ab3961243..2546edca1b9 100644 --- a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_2.adoc +++ b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_2.adoc @@ -6,6 +6,14 @@ from both 4.0 to 4.1 and 4.1 to 4.2. == Upgrading Camel 4.1 to 4.2 +=== camel-file + +The `readLock=changed` with using `readLockMinAge` has been restored to same behaviour as 3.x. + +For example using `readLockMinAge=5s` would pickup files that are older than 5 seconds from startup time. +If you have many existing files on startup that are old, then Camel will now again be fast, +and pickup these files immediately. + === camel-kafka The consumer will now pre validate hostname:port and DNS resolution on startup, and fail-fast