cxf-commits mailing list archives

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

URL: http://svn.apache.org/viewvc?rev=1208104&view=rev
Log:
[CXF-3916] The only check needed is if the message is a partial or not.

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=1208104&r1=1208103&r2=1208104&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:59:27
2011
@@ -825,14 +825,14 @@ public class ClientImpl
                 }
             }
         } finally {
+            BusFactory.setThreadDefaultBus(origBus);
             synchronized (message.getExchange()) {
-                if (!isPartialResponse(message) || callback == null) {
+                if (!isPartialResponse(message)) {
                     message.getExchange().put(FINISHED, Boolean.TRUE);
                     message.getExchange().setInMessage(message);
                     message.getExchange().notifyAll();
                 }
             }
-            BusFactory.setThreadDefaultBus(origBus);
         }
     }
 



Mime
View raw message