This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch fo
in repository https://gitbox.apache.org/repos/asf/camel.git

commit b98f34a080ecdd902fbf56ac6c3768b800346e90
Author: Claus Ibsen <[email protected]>
AuthorDate: Sun Dec 29 13:56:03 2024 +0100

    CAMEL-17648: camel-file - Optimize file consumer when filtering file names.
---
 .../modules/ROOT/pages/camel-4x-upgrade-guide-4_10.adoc       | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git 
a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_10.adoc 
b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_10.adoc
index c69e7440a40..58d4454ee7b 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_10.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_10.adoc
@@ -6,6 +6,17 @@ from both 4.0 to 4.1 and 4.1 to 4.2.
 
 == Upgrading Camel 4.9 to 4.10
 
+=== camel-file
+
+The `camel-file` consumer has been optimized when filtering file names using 
name matching only,
+to avoid creating an `GenericFile` object that represent the file. This is 
unnessasary if the file
+is to be excluded due the filtering.
+
+This optimization has changed APIs in the `camel-file` component to let 
methods that accept
+`GenericFile` as parameter, has been changed to use a `Supplier<GenericFile>` 
to lazy create the wrapper.
+
+Camel users who have created 3rd party component extending `camel-file` may 
need to migrate your components.
+
 === camel-jgroups
 
 The cluster lock has been removed as it has been removed in JGroups 5.4 
onwards, and it was

Reply via email to