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

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

commit b5b509554f1550f8ba6e59293930ebd50eb37adb
Author: Claus Ibsen <[email protected]>
AuthorDate: Sun Feb 9 11:03:22 2025 +0100

    CAMEL-21733: camel-core - Poll EIP to support DynamicAware to reuse 
endpoints during dynamic poll EIP
---
 .../services/org/apache/camel/send-dynamic/scp     |  2 ++
 .../camel/component/scp/ScpSendDynamicAware.java   | 24 ++++++++++++++++++++++
 .../ROOT/pages/camel-4x-upgrade-guide-4_11.adoc    | 18 ++++++++++++++++
 .../modules/ROOT/pages/camel-4x-upgrade-guide.adoc |  1 +
 4 files changed, 45 insertions(+)

diff --git 
a/components/camel-jsch/src/generated/resources/META-INF/services/org/apache/camel/send-dynamic/scp
 
b/components/camel-jsch/src/generated/resources/META-INF/services/org/apache/camel/send-dynamic/scp
new file mode 100644
index 00000000000..5509e2820d1
--- /dev/null
+++ 
b/components/camel-jsch/src/generated/resources/META-INF/services/org/apache/camel/send-dynamic/scp
@@ -0,0 +1,2 @@
+# Generated by camel build tools - do NOT edit this file!
+class=org.apache.camel.component.scp.ScpSendDynamicAware
diff --git 
a/components/camel-jsch/src/main/java/org/apache/camel/component/scp/ScpSendDynamicAware.java
 
b/components/camel-jsch/src/main/java/org/apache/camel/component/scp/ScpSendDynamicAware.java
new file mode 100644
index 00000000000..e0293b480eb
--- /dev/null
+++ 
b/components/camel-jsch/src/main/java/org/apache/camel/component/scp/ScpSendDynamicAware.java
@@ -0,0 +1,24 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.scp;
+
+import org.apache.camel.component.file.GenericFileSendDynamicAware;
+import org.apache.camel.spi.annotations.SendDynamic;
+
+@SendDynamic("scp")
+public class ScpSendDynamicAware extends GenericFileSendDynamicAware {
+}
diff --git 
a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_11.adoc 
b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_11.adoc
new file mode 100644
index 00000000000..2696dd68c5e
--- /dev/null
+++ b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_11.adoc
@@ -0,0 +1,18 @@
+= Apache Camel 4.x Upgrade Guide
+
+This document is for helping you upgrade your Apache Camel application
+from Camel 4.x to 4.y. For example, if you are upgrading Camel 4.0 to 4.2, 
then you should follow the guides
+from both 4.0 to 4.1 and 4.1 to 4.2.
+
+== Upgrading Camel 4.10 to 4.11
+
+=== file based components
+
+The file based component such as `camel-file`, `camel-ftp`, `camel-smb`, and 
`camel-azure-files` has
+been improved to allow optimized dynamic poll when using dynamic `fileName` 
header.
+
+This change means that there is a new `DynamicPollingConsumer` API the 
consumer implements.
+And as such some APIs inside these components has been changed.
+
+This will only affect if you have built your own custom Camel component on top 
of `camel-file`.
+And if so, your custom code may need to be changed slightly as well.
diff --git a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide.adoc 
b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide.adoc
index 0645d3df09f..4e5b432ef2a 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide.adoc
@@ -19,3 +19,4 @@ You can find the upgrade guide for each release in the 
following pages:
 - xref:camel-4x-upgrade-guide-4_8.adoc[Upgrade guide 4.7 -> 4.8]
 - xref:camel-4x-upgrade-guide-4_9.adoc[Upgrade guide 4.8 -> 4.9]
 - xref:camel-4x-upgrade-guide-4_10.adoc[Upgrade guide 4.9 -> 4.10]
+- xref:camel-4x-upgrade-guide-4_11.adoc[Upgrade guide 4.10 -> 4.11]

Reply via email to