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 2015/03/25 11:23:47 UTC

[4/6] camel git commit: CAMEL-5452: DoCatch now also emits the failure handled event

CAMEL-5452: DoCatch now also emits the failure handled event


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

Branch: refs/heads/master
Commit: 83c56bb5d1e81072cb56aa16b2d334a37552075f
Parents: 092ce41
Author: Claus Ibsen <da...@apache.org>
Authored: Wed Mar 25 11:01:00 2015 +0100
Committer: Claus Ibsen <da...@apache.org>
Committed: Wed Mar 25 11:25:11 2015 +0100

----------------------------------------------------------------------
 .../src/main/java/org/apache/camel/processor/CatchProcessor.java    | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/83c56bb5/camel-core/src/main/java/org/apache/camel/processor/CatchProcessor.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/processor/CatchProcessor.java b/camel-core/src/main/java/org/apache/camel/processor/CatchProcessor.java
index f30954d..654cfa4 100644
--- a/camel-core/src/main/java/org/apache/camel/processor/CatchProcessor.java
+++ b/camel-core/src/main/java/org/apache/camel/processor/CatchProcessor.java
@@ -102,7 +102,6 @@ public class CatchProcessor extends DelegateAsyncProcessor implements Traceable,
         boolean sync = processor.process(exchange, new AsyncCallback() {
             public void done(boolean doneSync) {
                 if (handled) {
-                    ExchangeHelper.setFailureHandled(exchange);
                     // emit event that the failure was handled
                     EventHelper.notifyExchangeFailureHandled(exchange.getContext(), exchange, processor, false, null);
                 } else {