Author: gnodet
Date: Tue Mar 13 14:30:39 2007
New Revision: 517881

URL: http://svn.apache.org/viewvc?view=rev&rev=517881
Log:
SM-532: Allow easier deployment of endpoints using servicemix-common by 
splitting components from endpoints and put all endpoints together

Modified:
    
incubator/servicemix/trunk/servicemix-itests/src/test/resources/org/apache/servicemix/itests/jsr181http.xml

Modified: 
incubator/servicemix/trunk/servicemix-itests/src/test/resources/org/apache/servicemix/itests/jsr181http.xml
URL: 
http://svn.apache.org/viewvc/incubator/servicemix/trunk/servicemix-itests/src/test/resources/org/apache/servicemix/itests/jsr181http.xml?view=diff&rev=517881&r1=517880&r2=517881
==============================================================================
--- 
incubator/servicemix/trunk/servicemix-itests/src/test/resources/org/apache/servicemix/itests/jsr181http.xml
 (original)
+++ 
incubator/servicemix/trunk/servicemix-itests/src/test/resources/org/apache/servicemix/itests/jsr181http.xml
 Tue Mar 13 14:30:39 2007
@@ -18,11 +18,35 @@
 
 -->
 <beans xmlns:sm="http://servicemix.apache.org/config/1.0";
-          xmlns:jsr181="http://servicemix.apache.org/jsr181/1.0";
-          xmlns:http="http://servicemix.apache.org/http/1.0";
-          xmlns:test="http://servicemix.org/test/";>
+            xmlns:jsr181="http://servicemix.apache.org/jsr181/1.0";
+            xmlns:http="http://servicemix.apache.org/http/1.0";
+            xmlns:test="http://servicemix.org/test/";>
        
-       <sm:container id="jbi" embedded="true" >
+       <sm:container id="jbi" embedded="true">
+         
+         <sm:components>
+           <!--
+           <jsr181:component name="servicemix-jsr181" />
+           <http:component name="servicemix-http" />
+           -->
+         </sm:components>
+         
+         <sm:endpoints>
+           <jsr181:endpoint 
+             pojoClass="org.apache.servicemix.itests.beans.Echo"
+             service="test:Hello" 
+             endpoint="testService" />
+           <http:endpoint 
+             service="test:Hello"
+             endpoint="testService" 
+             role="consumer" 
+             defaultOperation="echo"
+             locationURI="http://localhost:8194/Service/";
+             defaultMep="http://www.w3.org/2004/08/wsdl/in-out"; 
+             soap="true" />
+         </sm:endpoints>
+         
+         <!--
                <sm:activationSpecs>
 
                        <sm:activationSpec>
@@ -56,5 +80,6 @@
                        </sm:activationSpec>
 
                </sm:activationSpecs>
+               -->
        </sm:container>
 </beans>


Reply via email to