cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From egl...@apache.org
Subject svn commit: r610027 - /incubator/cxf/trunk/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/soap/MAPCodec.java
Date Tue, 08 Jan 2008 15:47:22 GMT
Author: eglynn
Date: Tue Jan  8 07:47:20 2008
New Revision: 610027

URL: http://svn.apache.org/viewvc?rev=610027&view=rev
Log:
Fix for WS-A memory leak on oneways.

Modified:
    incubator/cxf/trunk/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/soap/MAPCodec.java

Modified: incubator/cxf/trunk/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/soap/MAPCodec.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/soap/MAPCodec.java?rev=610027&r1=610026&r2=610027&view=diff
==============================================================================
--- incubator/cxf/trunk/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/soap/MAPCodec.java
(original)
+++ incubator/cxf/trunk/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/soap/MAPCodec.java
Tue Jan  8 07:47:20 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());
         }



Mime
View raw message