camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [2/2] git commit: On completion should not double wrap UoW
Date Sat, 18 May 2013 05:47:24 GMT
On completion should not double wrap UoW


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

Branch: refs/heads/master
Commit: e2b22608cad4f15c242b38ef7bcd6953bc9a4149
Parents: a91083b
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Fri May 17 17:03:34 2013 +0200
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Fri May 17 17:10:46 2013 +0200

----------------------------------------------------------------------
 .../camel/processor/OnCompletionProcessor.java     |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/e2b22608/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 f0f60cb..d374db0 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
@@ -56,8 +56,7 @@ public class OnCompletionProcessor extends ServiceSupport implements Processor,
         notNull(camelContext, "camelContext");
         notNull(processor, "processor");
         this.camelContext = camelContext;
-        // wrap processor in UnitOfWork so what we send out runs in a UoW
-        this.processor = new UnitOfWorkProcessor(processor);
+        this.processor = processor;
         this.executorService = executorService;
         this.shutdownExecutorService = shutdownExecutorService;
         this.onCompleteOnly = onCompleteOnly;


Mime
View raw message