You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2023/08/01 19:04:57 UTC
[camel] branch main updated: Regen
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
The following commit(s) were added to refs/heads/main by this push:
new cc8d1b18129 Regen
cc8d1b18129 is described below
commit cc8d1b181295aa4567db54277ddc22563b702cb8
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Tue Aug 1 21:04:46 2023 +0200
Regen
---
.../java/org/apache/camel/ExchangeExtension.java | 2 ++
.../org/apache/camel/ExtendedCamelContext.java | 1 -
.../apache/camel/model/OnCompletionDefinition.java | 35 ++++++++++++----------
.../apache/camel/model/OnExceptionDefinition.java | 22 +++++++-------
.../DefaultErrorHandlerDefinition.java | 33 ++++++++++----------
5 files changed, 51 insertions(+), 42 deletions(-)
diff --git a/core/camel-api/src/main/java/org/apache/camel/ExchangeExtension.java b/core/camel-api/src/main/java/org/apache/camel/ExchangeExtension.java
index ba9a0ba716f..baeaa44aa2f 100644
--- a/core/camel-api/src/main/java/org/apache/camel/ExchangeExtension.java
+++ b/core/camel-api/src/main/java/org/apache/camel/ExchangeExtension.java
@@ -253,12 +253,14 @@ public interface ExchangeExtension {
/**
* Returns whether the exchange has been failure handed
+ *
* @return true if failure handled or false otherwise
*/
boolean isFailureHandled();
/**
* Sets whether the exchange has been failure handled
+ *
* @param failureHandled true if failure handled or false otherwise
*/
void setFailureHandled(boolean failureHandled);
diff --git a/core/camel-api/src/main/java/org/apache/camel/ExtendedCamelContext.java b/core/camel-api/src/main/java/org/apache/camel/ExtendedCamelContext.java
index 738e285ee42..e5205dbe25a 100644
--- a/core/camel-api/src/main/java/org/apache/camel/ExtendedCamelContext.java
+++ b/core/camel-api/src/main/java/org/apache/camel/ExtendedCamelContext.java
@@ -34,7 +34,6 @@ import org.apache.camel.spi.LifecycleStrategy;
import org.apache.camel.spi.LogListener;
import org.apache.camel.spi.ManagementMBeanAssembler;
import org.apache.camel.spi.NormalizedEndpointUri;
-import org.apache.camel.spi.PluginManager;
import org.apache.camel.spi.ProcessorExchangeFactory;
import org.apache.camel.spi.ReactiveExecutor;
import org.apache.camel.spi.Registry;
diff --git a/core/camel-core-model/src/main/java/org/apache/camel/model/OnCompletionDefinition.java b/core/camel-core-model/src/main/java/org/apache/camel/model/OnCompletionDefinition.java
index ce660728732..ef4a9a0e36f 100644
--- a/core/camel-core-model/src/main/java/org/apache/camel/model/OnCompletionDefinition.java
+++ b/core/camel-core-model/src/main/java/org/apache/camel/model/OnCompletionDefinition.java
@@ -215,11 +215,12 @@ public class OnCompletionDefinition extends OutputDefinition<OnCompletionDefinit
* Will use the original input message body when an {@link org.apache.camel.Exchange} for this on completion.
* <p/>
* The original input message is defensively copied, and the copied message body is converted to
- * {@link org.apache.camel.StreamCache} if possible (stream caching is enabled, can be disabled globally or on the original route),
- * to ensure the body can be read when the original message is being used later. If the body is converted to {@link org.apache.camel.StreamCache}
- * then the message body on the current {@link org.apache.camel.Exchange} is replaced with the {@link org.apache.camel.StreamCache} body.
- * If the body is not converted to {@link org.apache.camel.StreamCache} then the body will not be
- * able to re-read when accessed later.
+ * {@link org.apache.camel.StreamCache} if possible (stream caching is enabled, can be disabled globally or on the
+ * original route), to ensure the body can be read when the original message is being used later. If the body is
+ * converted to {@link org.apache.camel.StreamCache} then the message body on the current
+ * {@link org.apache.camel.Exchange} is replaced with the {@link org.apache.camel.StreamCache} body. If the body is
+ * not converted to {@link org.apache.camel.StreamCache} then the body will not be able to re-read when accessed
+ * later.
* <p/>
* <b>Important:</b> The original input means the input message that are bounded by the current
* {@link org.apache.camel.spi.UnitOfWork}. An unit of work typically spans one route, or multiple routes if they
@@ -232,7 +233,7 @@ public class OnCompletionDefinition extends OutputDefinition<OnCompletionDefinit
* <p/>
* By default this feature is off.
*
- * @return the builder
+ * @return the builder
* @deprecated use {@link #useOriginalMessage()}
*/
@Deprecated
@@ -245,11 +246,12 @@ public class OnCompletionDefinition extends OutputDefinition<OnCompletionDefinit
* Will use the original input message when an {@link org.apache.camel.Exchange} for this on completion.
* <p/>
* The original input message is defensively copied, and the copied message body is converted to
- * {@link org.apache.camel.StreamCache} if possible (stream caching is enabled, can be disabled globally or on the original route),
- * to ensure the body can be read when the original message is being used later. If the body is converted to {@link org.apache.camel.StreamCache}
- * then the message body on the current {@link org.apache.camel.Exchange} is replaced with the {@link org.apache.camel.StreamCache} body.
- * If the body is not converted to {@link org.apache.camel.StreamCache} then the body will not be
- * able to re-read when accessed later.
+ * {@link org.apache.camel.StreamCache} if possible (stream caching is enabled, can be disabled globally or on the
+ * original route), to ensure the body can be read when the original message is being used later. If the body is
+ * converted to {@link org.apache.camel.StreamCache} then the message body on the current
+ * {@link org.apache.camel.Exchange} is replaced with the {@link org.apache.camel.StreamCache} body. If the body is
+ * not converted to {@link org.apache.camel.StreamCache} then the body will not be able to re-read when accessed
+ * later.
* <p/>
* <b>Important:</b> The original input means the input message that are bounded by the current
* {@link org.apache.camel.spi.UnitOfWork}. An unit of work typically spans one route, or multiple routes if they
@@ -379,11 +381,12 @@ public class OnCompletionDefinition extends OutputDefinition<OnCompletionDefinit
* Will use the original input message body when an {@link org.apache.camel.Exchange} for this on completion.
* <p/>
* The original input message is defensively copied, and the copied message body is converted to
- * {@link org.apache.camel.StreamCache} if possible (stream caching is enabled, can be disabled globally or on the original route),
- * to ensure the body can be read when the original message is being used later. If the body is converted to {@link org.apache.camel.StreamCache}
- * then the message body on the current {@link org.apache.camel.Exchange} is replaced with the {@link org.apache.camel.StreamCache} body.
- * If the body is not converted to {@link org.apache.camel.StreamCache} then the body will not be
- * able to re-read when accessed later.
+ * {@link org.apache.camel.StreamCache} if possible (stream caching is enabled, can be disabled globally or on the
+ * original route), to ensure the body can be read when the original message is being used later. If the body is
+ * converted to {@link org.apache.camel.StreamCache} then the message body on the current
+ * {@link org.apache.camel.Exchange} is replaced with the {@link org.apache.camel.StreamCache} body. If the body is
+ * not converted to {@link org.apache.camel.StreamCache} then the body will not be able to re-read when accessed
+ * later.
* <p/>
* <b>Important:</b> The original input means the input message that are bounded by the current
* {@link org.apache.camel.spi.UnitOfWork}. An unit of work typically spans one route, or multiple routes if they
diff --git a/core/camel-core-model/src/main/java/org/apache/camel/model/OnExceptionDefinition.java b/core/camel-core-model/src/main/java/org/apache/camel/model/OnExceptionDefinition.java
index 592b76a10af..39c18981055 100644
--- a/core/camel-core-model/src/main/java/org/apache/camel/model/OnExceptionDefinition.java
+++ b/core/camel-core-model/src/main/java/org/apache/camel/model/OnExceptionDefinition.java
@@ -668,11 +668,12 @@ public class OnExceptionDefinition extends OutputDefinition<OnExceptionDefinitio
* original message body and headers as they are. You cannot enable both useOriginalMessage and useOriginalBody.
* <p/>
* The original input message is defensively copied, and the copied message body is converted to
- * {@link org.apache.camel.StreamCache} if possible (stream caching is enabled, can be disabled globally or on the original route),
- * to ensure the body can be read when the original message is being used later. If the body is converted to {@link org.apache.camel.StreamCache}
- * then the message body on the current {@link org.apache.camel.Exchange} is replaced with the {@link org.apache.camel.StreamCache} body.
- * If the body is not converted to {@link org.apache.camel.StreamCache} then the body will not be
- * able to re-read when accessed later.
+ * {@link org.apache.camel.StreamCache} if possible (stream caching is enabled, can be disabled globally or on the
+ * original route), to ensure the body can be read when the original message is being used later. If the body is
+ * converted to {@link org.apache.camel.StreamCache} then the message body on the current
+ * {@link org.apache.camel.Exchange} is replaced with the {@link org.apache.camel.StreamCache} body. If the body is
+ * not converted to {@link org.apache.camel.StreamCache} then the body will not be able to re-read when accessed
+ * later.
* <p/>
* <b>Important:</b> The original input means the input message that are bounded by the current
* {@link org.apache.camel.spi.UnitOfWork}. An unit of work typically spans one route, or multiple routes if they
@@ -712,11 +713,12 @@ public class OnExceptionDefinition extends OutputDefinition<OnExceptionDefinitio
* original message body and headers as they are. You cannot enable both useOriginalMessage and useOriginalBody.
* <p/>
* The original input message is defensively copied, and the copied message body is converted to
- * {@link org.apache.camel.StreamCache} if possible (stream caching is enabled, can be disabled globally or on the original route),
- * to ensure the body can be read when the original message is being used later. If the body is converted to {@link org.apache.camel.StreamCache}
- * then the message body on the current {@link org.apache.camel.Exchange} is replaced with the {@link org.apache.camel.StreamCache} body.
- * If the body is not converted to {@link org.apache.camel.StreamCache} then the body will not be
- * able to re-read when accessed later.
+ * {@link org.apache.camel.StreamCache} if possible (stream caching is enabled, can be disabled globally or on the
+ * original route), to ensure the body can be read when the original message is being used later. If the body is
+ * converted to {@link org.apache.camel.StreamCache} then the message body on the current
+ * {@link org.apache.camel.Exchange} is replaced with the {@link org.apache.camel.StreamCache} body. If the body is
+ * not converted to {@link org.apache.camel.StreamCache} then the body will not be able to re-read when accessed
+ * later.
* <p/>
* <b>Important:</b> The original input means the input message that are bounded by the current
* {@link org.apache.camel.spi.UnitOfWork}. An unit of work typically spans one route, or multiple routes if they
diff --git a/core/camel-core-model/src/main/java/org/apache/camel/model/errorhandler/DefaultErrorHandlerDefinition.java b/core/camel-core-model/src/main/java/org/apache/camel/model/errorhandler/DefaultErrorHandlerDefinition.java
index 722ea738d84..777d5661f27 100644
--- a/core/camel-core-model/src/main/java/org/apache/camel/model/errorhandler/DefaultErrorHandlerDefinition.java
+++ b/core/camel-core-model/src/main/java/org/apache/camel/model/errorhandler/DefaultErrorHandlerDefinition.java
@@ -199,11 +199,12 @@ public class DefaultErrorHandlerDefinition extends BaseErrorHandlerDefinition {
* original message body and headers as they are. You cannot enable both useOriginalMessage and useOriginalBody.
* <p/>
* The original input message is defensively copied, and the copied message body is converted to
- * {@link org.apache.camel.StreamCache} if possible (stream caching is enabled, can be disabled globally or on the original route),
- * to ensure the body can be read when the original message is being used later. If the body is converted to {@link org.apache.camel.StreamCache}
- * then the message body on the current {@link org.apache.camel.Exchange} is replaced with the {@link org.apache.camel.StreamCache} body.
- * If the body is not converted to {@link org.apache.camel.StreamCache} then the body will not be
- * able to re-read when accessed later.
+ * {@link org.apache.camel.StreamCache} if possible (stream caching is enabled, can be disabled globally or on the
+ * original route), to ensure the body can be read when the original message is being used later. If the body is
+ * converted to {@link org.apache.camel.StreamCache} then the message body on the current
+ * {@link org.apache.camel.Exchange} is replaced with the {@link org.apache.camel.StreamCache} body. If the body is
+ * not converted to {@link org.apache.camel.StreamCache} then the body will not be able to re-read when accessed
+ * later.
* <p/>
* <b>Important:</b> The original input means the input message that are bounded by the current
* {@link org.apache.camel.spi.UnitOfWork}. An unit of work typically spans one route, or multiple routes if they
@@ -243,11 +244,12 @@ public class DefaultErrorHandlerDefinition extends BaseErrorHandlerDefinition {
* original message body and headers as they are. You cannot enable both useOriginalMessage and useOriginalBody.
* <p/>
* The original input message is defensively copied, and the copied message body is converted to
- * {@link org.apache.camel.StreamCache} if possible (stream caching is enabled, can be disabled globally or on the original route),
- * to ensure the body can be read when the original message is being used later. If the body is converted to {@link org.apache.camel.StreamCache}
- * then the message body on the current {@link org.apache.camel.Exchange} is replaced with the {@link org.apache.camel.StreamCache} body.
- * If the body is not converted to {@link org.apache.camel.StreamCache} then the body will not be
- * able to re-read when accessed later.
+ * {@link org.apache.camel.StreamCache} if possible (stream caching is enabled, can be disabled globally or on the
+ * original route), to ensure the body can be read when the original message is being used later. If the body is
+ * converted to {@link org.apache.camel.StreamCache} then the message body on the current
+ * {@link org.apache.camel.Exchange} is replaced with the {@link org.apache.camel.StreamCache} body. If the body is
+ * not converted to {@link org.apache.camel.StreamCache} then the body will not be able to re-read when accessed
+ * later.
* <p/>
* <b>Important:</b> The original input means the input message that are bounded by the current
* {@link org.apache.camel.spi.UnitOfWork}. An unit of work typically spans one route, or multiple routes if they
@@ -701,11 +703,12 @@ public class DefaultErrorHandlerDefinition extends BaseErrorHandlerDefinition {
* original message body and headers as they are. You cannot enable both useOriginalMessage and useOriginalBody.
* <p/>
* The original input message is defensively copied, and the copied message body is converted to
- * {@link org.apache.camel.StreamCache} if possible (stream caching is enabled, can be disabled globally or on the original route),
- * to ensure the body can be read when the original message is being used later. If the body is converted to {@link org.apache.camel.StreamCache}
- * then the message body on the current {@link org.apache.camel.Exchange} is replaced with the {@link org.apache.camel.StreamCache} body.
- * If the body is not converted to {@link org.apache.camel.StreamCache} then the body will not be
- * able to re-read when accessed later.
+ * {@link org.apache.camel.StreamCache} if possible (stream caching is enabled, can be disabled globally or on the
+ * original route), to ensure the body can be read when the original message is being used later. If the body is
+ * converted to {@link org.apache.camel.StreamCache} then the message body on the current
+ * {@link org.apache.camel.Exchange} is replaced with the {@link org.apache.camel.StreamCache} body. If the body is
+ * not converted to {@link org.apache.camel.StreamCache} then the body will not be able to re-read when accessed
+ * later.
* <p/>
* <b>Important:</b> The original input means the input message that are bounded by the current
* {@link org.apache.camel.spi.UnitOfWork}. An unit of work typically spans one route, or multiple routes if they