camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r1399317 - /camel/trunk/camel-core/src/main/java/org/apache/camel/builder/NotifyBuilder.java
Date Wed, 17 Oct 2012 15:57:56 GMT
Author: davsclaus
Date: Wed Oct 17 15:57:56 2012
New Revision: 1399317

URL: http://svn.apache.org/viewvc?rev=1399317&view=rev
Log:
CAMEL-5707: NotifyBuilder is now thread safe.

Modified:
    camel/trunk/camel-core/src/main/java/org/apache/camel/builder/NotifyBuilder.java

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/builder/NotifyBuilder.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/NotifyBuilder.java?rev=1399317&r1=1399316&r2=1399317&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/builder/NotifyBuilder.java (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/builder/NotifyBuilder.java Wed Oct
17 15:57:56 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;
             }



Mime
View raw message