You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@synapse.apache.org by ru...@apache.org on 2010/07/14 11:28:34 UTC

svn commit: r963989 - in /synapse/trunk/java/repository/conf/sample: synapse_sample_10.xml synapse_sample_11.xml synapse_sample_12.xml

Author: ruwan
Date: Wed Jul 14 09:28:33 2010
New Revision: 963989

URL: http://svn.apache.org/viewvc?rev=963989&view=rev
Log:
migrating samples 10 to 12

Modified:
    synapse/trunk/java/repository/conf/sample/synapse_sample_10.xml
    synapse/trunk/java/repository/conf/sample/synapse_sample_11.xml
    synapse/trunk/java/repository/conf/sample/synapse_sample_12.xml

Modified: synapse/trunk/java/repository/conf/sample/synapse_sample_10.xml
URL: http://svn.apache.org/viewvc/synapse/trunk/java/repository/conf/sample/synapse_sample_10.xml?rev=963989&r1=963988&r2=963989&view=diff
==============================================================================
--- synapse/trunk/java/repository/conf/sample/synapse_sample_10.xml (original)
+++ synapse/trunk/java/repository/conf/sample/synapse_sample_10.xml Wed Jul 14 09:28:33 2010
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
 <!--
   ~  Licensed to the Apache Software Foundation (ASF) under one
   ~  or more contributor license agreements.  See the NOTICE file
@@ -16,7 +17,7 @@
   ~  specific language governing permissions and limitations
   ~  under the License.
   -->
-    
+
 <!-- Introduction to dynamic endpoints with the Registry -->
 <definitions xmlns="http://synapse.apache.org/ns/2010/04/configuration">
 
@@ -25,16 +26,19 @@
         <parameter name="cachableDuration">15000</parameter>
     </registry>
 
-    <in>
-        <send>
-            <endpoint key="endpoint/dynamic_endpt_1.xml"/>
-        </send>
-    </in>
-    <out>
-        <send/>
-    </out>
-
     <sequence name="foo">
         <sequence key="xxx"/>
     </sequence>
+
+    <sequence name="main">
+        <in>
+            <send>
+                <endpoint key="endpoint/dynamic_endpt_1.xml"/>
+            </send>
+        </in>
+        <out>
+            <send/>
+        </out>
+    </sequence>
+
 </definitions>

Modified: synapse/trunk/java/repository/conf/sample/synapse_sample_11.xml
URL: http://svn.apache.org/viewvc/synapse/trunk/java/repository/conf/sample/synapse_sample_11.xml?rev=963989&r1=963988&r2=963989&view=diff
==============================================================================
--- synapse/trunk/java/repository/conf/sample/synapse_sample_11.xml (original)
+++ synapse/trunk/java/repository/conf/sample/synapse_sample_11.xml Wed Jul 14 09:28:33 2010
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
 <!--
   ~  Licensed to the Apache Software Foundation (ASF) under one
   ~  or more contributor license agreements.  See the NOTICE file
@@ -16,11 +17,13 @@
   ~  specific language governing permissions and limitations
   ~  under the License.
   -->
-    
+
 <!-- A full registry based configuration, and sharing a configuration between multiple instances -->
 <definitions xmlns="http://synapse.apache.org/ns/2010/04/configuration">
-	<registry provider="org.apache.synapse.registry.url.SimpleURLRegistry">
+
+    <registry provider="org.apache.synapse.registry.url.SimpleURLRegistry">
         <parameter name="root">file:./repository/conf/sample/resources/</parameter>
         <parameter name="cachableDuration">15000</parameter>
     </registry>
-</definitions> 
\ No newline at end of file
+
+</definitions>

Modified: synapse/trunk/java/repository/conf/sample/synapse_sample_12.xml
URL: http://svn.apache.org/viewvc/synapse/trunk/java/repository/conf/sample/synapse_sample_12.xml?rev=963989&r1=963988&r2=963989&view=diff
==============================================================================
--- synapse/trunk/java/repository/conf/sample/synapse_sample_12.xml (original)
+++ synapse/trunk/java/repository/conf/sample/synapse_sample_12.xml Wed Jul 14 09:28:33 2010
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
 <!--
   ~  Licensed to the Apache Software Foundation (ASF) under one
   ~  or more contributor license agreements.  See the NOTICE file
@@ -19,24 +20,28 @@
 
 <!-- Introduction to  endpoints /sequence from local registry -->
 <definitions xmlns="http://synapse.apache.org/ns/2010/04/configuration">
+
     <localEntry key="local-enrty-ep-key"
                 src="file:repository/conf/sample/resources/endpoint/dynamic_endpt_1.xml"/>
 
     <localEntry key="local-enrty-sequence-key">
-        <sequence name="dynamic_sequence" xmlns="http://synapse.apache.org/ns/2010/04/configuration">
+        <sequence name="dynamic_sequence">
             <log level="custom">
                 <property name="message" value="*** Test Message 1 ***"/>
             </log>
         </sequence>
     </localEntry>
 
-    <in>
-        <sequence key="local-enrty-sequence-key"/>
-        <send>
-            <endpoint key="local-enrty-ep-key"/>
-        </send>
-    </in>
-    <out>
-        <send/>
-    </out>
+    <sequence name="main">
+        <in>
+            <sequence key="local-enrty-sequence-key"/>
+            <send>
+                <endpoint key="local-enrty-ep-key"/>
+            </send>
+        </in>
+        <out>
+            <send/>
+        </out>
+    </sequence>
+
 </definitions>