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 2012/05/23 22:35:49 UTC
svn commit: r1342034 -
/cxf/trunk/api/src/main/java/org/apache/cxf/endpoint/AbstractConduitSelector.java
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;
}