cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1342034 - /cxf/trunk/api/src/main/java/org/apache/cxf/endpoint/AbstractConduitSelector.java
Date Wed, 23 May 2012 20:35:49 GMT
Author: dkulp
Date: Wed May 23 20:35:49 2012
New Revision: 1342034

URL: http://svn.apache.org/viewvc?rev=1342034&view=rev
Log:
[CXF-4315] Selecting the conduit can cause extra properties to be set on the
endpoint, make sure we reset the cache in such cases.

Modified:
    cxf/trunk/api/src/main/java/org/apache/cxf/endpoint/AbstractConduitSelector.java

Modified: cxf/trunk/api/src/main/java/org/apache/cxf/endpoint/AbstractConduitSelector.java
URL: http://svn.apache.org/viewvc/cxf/trunk/api/src/main/java/org/apache/cxf/endpoint/AbstractConduitSelector.java?rev=1342034&r1=1342033&r2=1342034&view=diff
==============================================================================
--- cxf/trunk/api/src/main/java/org/apache/cxf/endpoint/AbstractConduitSelector.java (original)
+++ cxf/trunk/api/src/main/java/org/apache/cxf/endpoint/AbstractConduitSelector.java Wed May
23 20:35:49 2012
@@ -133,6 +133,8 @@ public abstract class AbstractConduitSel
         if (c.getTarget() != null && c.getTarget().getAddress() != null) {
             replaceEndpointAddressPropertyIfNeeded(message, c.getTarget().getAddress().getValue(),
c);
         }
+        //the search for the conduit could cause extra properties to be reset/loaded. 
+        message.resetContextCache();
         message.put(Conduit.class, c);
         return c;
     }



Mime
View raw message