Return-Path: X-Original-To: apmail-camel-commits-archive@www.apache.org Delivered-To: apmail-camel-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0C1B4DB57 for ; Sat, 18 May 2013 05:47:30 +0000 (UTC) Received: (qmail 75343 invoked by uid 500); 18 May 2013 05:47:29 -0000 Delivered-To: apmail-camel-commits-archive@camel.apache.org Received: (qmail 75175 invoked by uid 500); 18 May 2013 05:47:25 -0000 Mailing-List: contact commits-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list commits@camel.apache.org Received: (qmail 75118 invoked by uid 99); 18 May 2013 05:47:23 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 May 2013 05:47:23 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 4DA1A31911B; Sat, 18 May 2013 05:47:23 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: davsclaus@apache.org To: commits@camel.apache.org Date: Sat, 18 May 2013 05:47:24 -0000 Message-Id: <63b8502eddd34b628abea5aa7dcda270@git.apache.org> In-Reply-To: <2ee2f9d665fb474293b3f4095c5e4ba0@git.apache.org> References: <2ee2f9d665fb474293b3f4095c5e4ba0@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [2/2] git commit: On completion should not double wrap UoW 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 Authored: Fri May 17 17:03:34 2013 +0200 Committer: Claus Ibsen 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;