cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1208100 - /cxf/trunk/rt/core/src/main/java/org/apache/cxf/endpoint/ClientImpl.java
Date Tue, 29 Nov 2011 21:58:28 GMT
Author: dkulp
Date: Tue Nov 29 21:58:23 2011
New Revision: 1208100

URL: http://svn.apache.org/viewvc?rev=1208100&view=rev
Log:
[CXF-3916] Fix for partial response and async messages
Patch from Jesse Pangburn applied

Modified:
    cxf/trunk/rt/core/src/main/java/org/apache/cxf/endpoint/ClientImpl.java

Modified: cxf/trunk/rt/core/src/main/java/org/apache/cxf/endpoint/ClientImpl.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/core/src/main/java/org/apache/cxf/endpoint/ClientImpl.java?rev=1208100&r1=1208099&r2=1208100&view=diff
==============================================================================
--- cxf/trunk/rt/core/src/main/java/org/apache/cxf/endpoint/ClientImpl.java (original)
+++ cxf/trunk/rt/core/src/main/java/org/apache/cxf/endpoint/ClientImpl.java Tue Nov 29 21:58:23
2011
@@ -826,7 +826,7 @@ public class ClientImpl
             }
         } finally {
             synchronized (message.getExchange()) {
-                if (!isPartialResponse(message) && callback == null) {
+                if (!isPartialResponse(message) || callback == null) {
                     message.getExchange().put(FINISHED, Boolean.TRUE);
                     message.getExchange().setInMessage(message);
                     message.getExchange().notifyAll();



Mime
View raw message