cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject svn commit: r1548110 - /cxf/branches/2.7.x-fixes/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/soap/RetransmissionQueueImpl.java
Date Thu, 05 Dec 2013 12:37:52 GMT
Author: ay
Date: Thu Dec  5 12:37:51 2013
New Revision: 1548110

URL: http://svn.apache.org/r1548110
Log:
Merged revisions 1548109 via  git cherry-pick from
https://svn.apache.org/repos/asf/cxf/trunk

........
  r1548109 | ay | 2013-12-05 13:33:09 +0100 (Thu, 05 Dec 2013) | 2 lines

  [CXF-5435] WS-RM's retranmission should call conduit.close(message) after successful retransmission

........

Modified:
    cxf/branches/2.7.x-fixes/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/soap/RetransmissionQueueImpl.java

Modified: cxf/branches/2.7.x-fixes/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/soap/RetransmissionQueueImpl.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.7.x-fixes/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/soap/RetransmissionQueueImpl.java?rev=1548110&r1=1548109&r2=1548110&view=diff
==============================================================================
--- cxf/branches/2.7.x-fixes/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/soap/RetransmissionQueueImpl.java
(original)
+++ cxf/branches/2.7.x-fixes/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/soap/RetransmissionQueueImpl.java
Thu Dec  5 12:37:51 2013
@@ -472,7 +472,8 @@ public class RetransmissionQueueImpl imp
             // copy saved output stream to new output stream in chunks of 1024
             IOUtils.copyAndCloseInput(bis, os);
             os.flush();
-            os.close();
+            // closing the conduit this way will close the underlining stream that is os.
+            c.close(message);
         } catch (ConnectException ex) {
             //ignore, we'll just resent again later
         } catch (IOException ex) {



Mime
View raw message