This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push: new 54bec7f CAMEL-14354: camel-core optimize 54bec7f is described below commit 54bec7f3d28d58a3436439129a5814a3f774ba07 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Tue Jan 28 14:10:53 2020 +0100 CAMEL-14354: camel-core optimize --- .../src/main/java/org/apache/camel/ExtendedExchange.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/core/camel-api/src/main/java/org/apache/camel/ExtendedExchange.java b/core/camel-api/src/main/java/org/apache/camel/ExtendedExchange.java index 61184f4..4aa7eb4 100644 --- a/core/camel-api/src/main/java/org/apache/camel/ExtendedExchange.java +++ b/core/camel-api/src/main/java/org/apache/camel/ExtendedExchange.java @@ -120,18 +120,32 @@ public interface ExtendedExchange extends Exchange { /** * Whether the exchange has exhausted (attempted all) its redeliveries and still failed. + * This is used internally by Camel. */ boolean isRedeliveryExhausted(); /** * Used to signal that this exchange has exhausted (attempted all) its redeliveries and still failed. + * This is used internally by Camel. */ void setRedeliveryExhausted(boolean redeliveryExhausted); + /** + * Whether the exchange has been handled by the error handler. + * This is used internally by Camel. + */ boolean isErrorHandlerHandled(); + /** + * Whether the exchange has been handled by the error handler. + * This is used internally by Camel. + */ Boolean getErrorHandlerHandled(); + /** + * Used to signal that this exchange has been handled by the error handler. + * This is used internally by Camel. + */ void setErrorHandlerHandled(Boolean errorHandlerHandled); }