You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2008/01/08 21:43:39 UTC

svn commit: r610139 - in /incubator/cxf/branches/2.0.x-fixes: ./ rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/soap/MAPCodec.java

Author: dkulp
Date: Tue Jan  8 12:43:38 2008
New Revision: 610139

URL: http://svn.apache.org/viewvc?rev=610139&view=rev
Log:
Merged revisions 610027 via svnmerge from 
https://svn.apache.org/repos/asf/incubator/cxf/trunk

........
  r610027 | eglynn | 2008-01-08 10:47:20 -0500 (Tue, 08 Jan 2008) | 1 line
  
  Fix for WS-A memory leak on oneways.
........

Modified:
    incubator/cxf/branches/2.0.x-fixes/   (props changed)
    incubator/cxf/branches/2.0.x-fixes/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/soap/MAPCodec.java

Propchange: incubator/cxf/branches/2.0.x-fixes/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.

Modified: incubator/cxf/branches/2.0.x-fixes/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/soap/MAPCodec.java
URL: http://svn.apache.org/viewvc/incubator/cxf/branches/2.0.x-fixes/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/soap/MAPCodec.java?rev=610139&r1=610138&r2=610139&view=diff
==============================================================================
--- incubator/cxf/branches/2.0.x-fixes/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/soap/MAPCodec.java (original)
+++ incubator/cxf/branches/2.0.x-fixes/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/soap/MAPCodec.java Tue Jan  8 12:43:38 2008
@@ -699,7 +699,7 @@
      * @param maps the addressing properties
      */
     private void cacheExchange(SoapMessage message, AddressingProperties maps) {
-        if (maps.getRelatesTo() == null) {
+        if (maps.getRelatesTo() == null && !message.getExchange().isOneWay()) {
             uncorrelatedExchanges.put(maps.getMessageID().getValue(),
                                       message.getExchange());
         }