camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [4/4] camel git commit: CAMEL-9503: Fixed wrong restore of property in onCompletion
Date Tue, 12 Jan 2016 10:07:36 GMT
CAMEL-9503: Fixed wrong restore of property in onCompletion


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

Branch: refs/heads/camel-2.15.x
Commit: 4f0de9ad4e494f17aac746650f4cca1702b9349e
Parents: b7aeb46
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Tue Jan 12 11:05:19 2016 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Tue Jan 12 11:06:58 2016 +0100

----------------------------------------------------------------------
 .../java/org/apache/camel/processor/OnCompletionProcessor.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/4f0de9ad/camel-core/src/main/java/org/apache/camel/processor/OnCompletionProcessor.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/processor/OnCompletionProcessor.java
b/camel-core/src/main/java/org/apache/camel/processor/OnCompletionProcessor.java
index e420772..d46034b 100644
--- a/camel-core/src/main/java/org/apache/camel/processor/OnCompletionProcessor.java
+++ b/camel-core/src/main/java/org/apache/camel/processor/OnCompletionProcessor.java
@@ -159,7 +159,7 @@ public class OnCompletionProcessor extends ServiceSupport implements AsyncProces
                 exchange.setProperty(Exchange.ROLLBACK_ONLY, rollbackOnly);
             }
             if (rollbackOnlyLast != null) {
-                exchange.setProperty(Exchange.ROLLBACK_ONLY, rollbackOnlyLast);
+                exchange.setProperty(Exchange.ROLLBACK_ONLY_LAST, rollbackOnlyLast);
             }
             if (cause != null) {
                 exchange.setException(cause);


Mime
View raw message