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 41236DCDF for ; Wed, 17 Oct 2012 16:06:20 +0000 (UTC) Received: (qmail 89478 invoked by uid 500); 17 Oct 2012 16:06:20 -0000 Delivered-To: apmail-camel-commits-archive@camel.apache.org Received: (qmail 89411 invoked by uid 500); 17 Oct 2012 16:06:20 -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 89404 invoked by uid 99); 17 Oct 2012 16:06:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Oct 2012 16:06:20 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Oct 2012 16:06:19 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 12D3823889D5; Wed, 17 Oct 2012 16:05:36 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1399324 - in /camel/branches/camel-2.10.x: ./ camel-core/src/main/java/org/apache/camel/builder/NotifyBuilder.java Date: Wed, 17 Oct 2012 16:05:35 -0000 To: commits@camel.apache.org From: davsclaus@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20121017160536.12D3823889D5@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: davsclaus Date: Wed Oct 17 16:05:35 2012 New Revision: 1399324 URL: http://svn.apache.org/viewvc?rev=1399324&view=rev Log: CAMEL-5707: NotifyBuilder is now thread safe. Modified: camel/branches/camel-2.10.x/ (props changed) camel/branches/camel-2.10.x/camel-core/src/main/java/org/apache/camel/builder/NotifyBuilder.java Propchange: camel/branches/camel-2.10.x/ ------------------------------------------------------------------------------ Merged /camel/trunk:r1399317 Propchange: camel/branches/camel-2.10.x/ ------------------------------------------------------------------------------ Binary property 'svnmerge-integrated' - no diff available. Modified: camel/branches/camel-2.10.x/camel-core/src/main/java/org/apache/camel/builder/NotifyBuilder.java URL: http://svn.apache.org/viewvc/camel/branches/camel-2.10.x/camel-core/src/main/java/org/apache/camel/builder/NotifyBuilder.java?rev=1399324&r1=1399323&r2=1399324&view=diff ============================================================================== --- camel/branches/camel-2.10.x/camel-core/src/main/java/org/apache/camel/builder/NotifyBuilder.java (original) +++ camel/branches/camel-2.10.x/camel-core/src/main/java/org/apache/camel/builder/NotifyBuilder.java Wed Oct 17 16:05:35 2012 @@ -444,7 +444,7 @@ public class NotifyBuilder { @Override public boolean onExchangeCompleted(Exchange exchange) { if (exchange.getExchangeId().equals(id)) { - done.set(false); + done.set(true); } return true; }