Author: eglynn
Date: Tue Apr 17 07:57:44 2007
New Revision: 529632

URL: http://svn.apache.org/viewvc?view=rev&rev=529632
Log:
Configuring DeferredConduitSelector for coloc system tests so as to avoid 
upfront creation of unused Conduit


Modified:
    
incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/coloc/cxf.xml

Modified: 
incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/coloc/cxf.xml
URL: 
http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/coloc/cxf.xml?view=diff&rev=529632&r1=529631&r2=529632
==============================================================================
--- 
incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/coloc/cxf.xml 
(original)
+++ 
incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/coloc/cxf.xml 
Tue Apr 17 07:57:44 2007
@@ -21,6 +21,7 @@
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
        xmlns:http="http://cxf.apache.org/transports/http/configuration";
        xmlns:jms="http://cxf.apache.org/transports/jms";
+       xmlns:jaxws="http://cxf.apache.org/jaxws";
        xsi:schemaLocation="
 http://cxf.apache.org/transports/http/configuration 
http://cxf.apache.org/schema/transports/http.xsd
 http://www.springframework.org/schema/beans 
http://www.springframework.org/schema/beans/spring-beans.xsd";>
@@ -97,5 +98,19 @@
         </property>
     </bean>
 
+    <!-- Avoid upfront Conduit creation, as client-side transport resources
+         are not required in the coloc case -->
+    <jaxws:client id="{http://apache.org/headers/rpc_lit}SoapPort"; 
+                  abstract="true">
+        <jaxws:conduitSelector>
+            <bean class="org.apache.cxf.endpoint.DeferredConduitSelector"/>
+        </jaxws:conduitSelector>
+    </jaxws:client>
+    <jaxws:client id="{http://apache.org/headers/doc_lit}SoapPort9000"; 
+                  abstract="true">
+        <jaxws:conduitSelector>
+            <bean class="org.apache.cxf.endpoint.DeferredConduitSelector"/>
+        </jaxws:conduitSelector>
+    </jaxws:client>
 
 </beans>


Reply via email to