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 2013/08/21 16:56:56 UTC

git commit: CAMEL-6287: Added note to javadoc about brdige error handler does not support interceptors, onCompletion etc.

Updated Branches:
  refs/heads/master 7cbedb6b2 -> 228ff07a4


CAMEL-6287: Added note to javadoc about brdige error handler does not support interceptors, onCompletion etc.


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/228ff07a
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/228ff07a
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/228ff07a

Branch: refs/heads/master
Commit: 228ff07a4475f56d96b300892c4a3c0128c596aa
Parents: 7cbedb6
Author: Claus Ibsen <da...@apache.org>
Authored: Wed Aug 21 16:56:47 2013 +0200
Committer: Claus Ibsen <da...@apache.org>
Committed: Wed Aug 21 16:56:47 2013 +0200

----------------------------------------------------------------------
 .../apache/camel/impl/BridgeExceptionHandlerToErrorHandler.java | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/228ff07a/camel-core/src/main/java/org/apache/camel/impl/BridgeExceptionHandlerToErrorHandler.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/impl/BridgeExceptionHandlerToErrorHandler.java b/camel-core/src/main/java/org/apache/camel/impl/BridgeExceptionHandlerToErrorHandler.java
index e8117c6..12ba590 100644
--- a/camel-core/src/main/java/org/apache/camel/impl/BridgeExceptionHandlerToErrorHandler.java
+++ b/camel-core/src/main/java/org/apache/camel/impl/BridgeExceptionHandlerToErrorHandler.java
@@ -30,6 +30,11 @@ import org.apache.camel.spi.ExceptionHandler;
  * to enable this {@link BridgeExceptionHandlerToErrorHandler} on the consumer.
  * The consumer must extend the {@link DefaultConsumer}, to support this, if not an
  * {@link IllegalArgumentException} is thrown upon startup.
+ * <p/>
+ * <b>Notice:</b> When using this bridging error handler, then interceptors, onCompletions
+ * does <b>not</b> apply. The {@link Exchange} is processed directly by the Camel
+ * error handler, and does not allow prior actions such as interceptors, onCompletion
+ * to take action.
  */
 public class BridgeExceptionHandlerToErrorHandler implements ExceptionHandler {