cxf-commits mailing list archives

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

URL: http://svn.apache.org/viewvc?rev=610060&view=rev
Log:
Fix for server-side WS-A memory leak.

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=610060&r1=610059&r2=610060&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 08:37:07 2008
@@ -699,7 +699,7 @@
      * @param maps the addressing properties
      */
     private void cacheExchange(SoapMessage message, AddressingProperties maps) {
-        if (maps.getRelatesTo() == null && !message.getExchange().isOneWay()) {
+        if (ContextUtils.isRequestor(message) && !message.getExchange().isOneWay())
{
             uncorrelatedExchanges.put(maps.getMessageID().getValue(),
                                       message.getExchange());
         }



Mime
View raw message