You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by gn...@apache.org on 2006/03/10 17:08:58 UTC

svn commit: r384834 - in /incubator/servicemix/trunk/servicemix-http/src/test/resources: org/apache/servicemix/http/addressing.xml xbean/xbean.xml

Author: gnodet
Date: Fri Mar 10 08:08:56 2006
New Revision: 384834

URL: http://svn.apache.org/viewcvs?rev=384834&view=rev
Log:
Add snippets for servicemix-http doc

Modified:
    incubator/servicemix/trunk/servicemix-http/src/test/resources/org/apache/servicemix/http/addressing.xml
    incubator/servicemix/trunk/servicemix-http/src/test/resources/xbean/xbean.xml

Modified: incubator/servicemix/trunk/servicemix-http/src/test/resources/org/apache/servicemix/http/addressing.xml
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-http/src/test/resources/org/apache/servicemix/http/addressing.xml?rev=384834&r1=384833&r2=384834&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-http/src/test/resources/org/apache/servicemix/http/addressing.xml (original)
+++ incubator/servicemix/trunk/servicemix-http/src/test/resources/org/apache/servicemix/http/addressing.xml Fri Mar 10 08:08:56 2006
@@ -7,26 +7,27 @@
   <sm:container id="jbi" embedded="true">
     <sm:activationSpecs>
 
-      <!-- output using a POJO -->
+      <!-- START SNIPPET: lightweight -->
       <sm:activationSpec>
-      	<sm:component>
-            <http:component>
-            	<http:endpoints>
-            		<http:endpoint service="test:dummy"
-            					   endpoint="dummy"
-            		               role="consumer" 
-            		               soap="true"
-            		               locationURI="http://localhost:8192/"
-            		               defaultMep="http://www.w3.org/2004/08/wsdl/in-out" />
-            		               
-            		<http:endpoint service="test:MyProviderService"
-            					   endpoint="myProvider"
-            		               role="provider" 
-            		               locationURI="http://localhost:8192/" />
-            	</http:endpoints>
-            </http:component>
+        <sm:component>
+          <http:component>
+            <http:endpoints>
+              <http:endpoint service="test:dummy"
+                             endpoint="dummy"
+                             role="consumer" 
+                             soap="true"
+                             locationURI="http://localhost:8192/"
+                             defaultMep="http://www.w3.org/2004/08/wsdl/in-out" />
+
+              <http:endpoint service="test:MyProviderService"
+                             endpoint="myProvider"
+                             role="provider" 
+                             locationURI="http://localhost:8192/" />
+            </http:endpoints>
+          </http:component>
         </sm:component>
       </sm:activationSpec>
+      <!-- END SNIPPET: lightweight -->
       
       <sm:activationSpec service="test:MyConsumerService" endpoint="myConsumer">
         <sm:component>

Modified: incubator/servicemix/trunk/servicemix-http/src/test/resources/xbean/xbean.xml
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-http/src/test/resources/xbean/xbean.xml?rev=384834&r1=384833&r2=384834&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-http/src/test/resources/xbean/xbean.xml (original)
+++ incubator/servicemix/trunk/servicemix-http/src/test/resources/xbean/xbean.xml Fri Mar 10 08:08:56 2006
@@ -2,15 +2,19 @@
 <beans xmlns:http="http://servicemix.apache.org/http/1.0"
        xmlns:test="http://test">
 
-	<http:endpoint service="test:MyConsumerService"
-				   endpoint="myConsumer"
-	               role="consumer" 
-	               locationURI="http://localhost:8192/Service/"
-	               defaultMep="http://www.w3.org/2004/08/wsdl/in-out" />
-	               
-	<http:endpoint service="test:MyProviderService"
-				   endpoint="myProvider"
-	               role="provider" 
-	               locationURI="http://localhost:8192/Service/" />
+    <!-- START SNIPPET: consumer -->
+    <http:endpoint service="test:MyConsumerService"
+                   endpoint="myConsumer"
+                   role="consumer" 
+                   locationURI="http://localhost:8192/Service/"
+                   defaultMep="http://www.w3.org/2004/08/wsdl/in-out" />
+    <!-- END SNIPPET: consumer -->
+
+    <!-- START SNIPPET: provider -->
+    <http:endpoint service="test:MyProviderService"
+                   endpoint="myProvider"
+                   role="provider" 
+                   locationURI="http://localhost:8192/Service/" />
+    <!-- END SNIPPET: provider -->
   				   
 </beans>