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/15 16:37:35 UTC

svn commit: r964445 - /synapse/trunk/java/repository/conf/sample/

Author: ruwan
Date: Thu Jul 15 14:37:34 2010
New Revision: 964445

URL: http://svn.apache.org/viewvc?rev=964445&view=rev
Log:
migrating samples 50 to 58

Modified:
    synapse/trunk/java/repository/conf/sample/synapse_sample_50.xml
    synapse/trunk/java/repository/conf/sample/synapse_sample_51.xml
    synapse/trunk/java/repository/conf/sample/synapse_sample_52.xml
    synapse/trunk/java/repository/conf/sample/synapse_sample_53.xml
    synapse/trunk/java/repository/conf/sample/synapse_sample_54.xml
    synapse/trunk/java/repository/conf/sample/synapse_sample_55.xml
    synapse/trunk/java/repository/conf/sample/synapse_sample_56.xml
    synapse/trunk/java/repository/conf/sample/synapse_sample_57.xml
    synapse/trunk/java/repository/conf/sample/synapse_sample_58.xml

Modified: synapse/trunk/java/repository/conf/sample/synapse_sample_50.xml
URL: http://svn.apache.org/viewvc/synapse/trunk/java/repository/conf/sample/synapse_sample_50.xml?rev=964445&r1=964444&r2=964445&view=diff
==============================================================================
--- synapse/trunk/java/repository/conf/sample/synapse_sample_50.xml (original)
+++ synapse/trunk/java/repository/conf/sample/synapse_sample_50.xml Thu Jul 15 14:37:34 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,17 +17,21 @@
   ~  specific language governing permissions and limitations
   ~  under the License.
   -->
-    
+
 <!-- POX to SOAP conversion -->
 <definitions xmlns="http://synapse.apache.org/ns/2010/04/configuration">
-    <!-- filtering of messages with XPath and regex matches -->
-    <filter source="get-property('To')" regex=".*/StockQuote.*">
-        <send>
-            <endpoint>
-                <address uri="http://localhost:9000/services/SimpleStockQuoteService" format="soap11"/>
-            </endpoint>
-        </send>
-        <drop/>
-    </filter>
-    <send/>
+
+    <sequence name="main">
+        <!-- filtering of messages with XPath and regex matches -->
+        <filter source="get-property('To')" regex=".*/StockQuote.*">
+            <send>
+                <endpoint>
+                    <address uri="http://localhost:9000/services/SimpleStockQuoteService" format="soap11"/>
+                </endpoint>
+            </send>
+            <drop/>
+        </filter>
+        <send/>
+    </sequence>
+
 </definitions>

Modified: synapse/trunk/java/repository/conf/sample/synapse_sample_51.xml
URL: http://svn.apache.org/viewvc/synapse/trunk/java/repository/conf/sample/synapse_sample_51.xml?rev=964445&r1=964444&r2=964445&view=diff
==============================================================================
--- synapse/trunk/java/repository/conf/sample/synapse_sample_51.xml (original)
+++ synapse/trunk/java/repository/conf/sample/synapse_sample_51.xml Thu Jul 15 14:37:34 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,34 +17,38 @@
   ~  specific language governing permissions and limitations
   ~  under the License.
   -->
-    
+
 <!-- MTOM and SwA optimizations and request/response correlation -->
 <definitions xmlns="http://synapse.apache.org/ns/2010/04/configuration">
-    <in>
-        <filter source="get-property('Action')" regex="urn:uploadFileUsingMTOM">
-            <property name="example" value="mtom"/>
-            <send>
-                <endpoint>
-                    <address uri="http://localhost:9000/services/MTOMSwASampleService" optimize="mtom"/>
-                </endpoint>
-            </send>
-        </filter>
-        <filter source="get-property('Action')" regex="urn:uploadFileUsingSwA">
-            <property name="example" value="swa"/>
-            <send>
-                <endpoint>
-                    <address uri="http://localhost:9000/services/MTOMSwASampleService" optimize="swa"/>
-                </endpoint>
-            </send>
-        </filter>
-    </in>
-    <out>
-        <filter source="get-property('example')" regex="mtom">
-            <property name="enableMTOM" value="true" scope="axis2"/>
-        </filter>
-        <filter source="get-property('example')" regex="swa">
-            <property name="enableSwA" value="true" scope="axis2"/>
-        </filter>
-        <send/>
-    </out>
+
+    <sequence name="main">
+        <in>
+            <filter source="get-property('Action')" regex="urn:uploadFileUsingMTOM">
+                <property name="example" value="mtom"/>
+                <send>
+                    <endpoint>
+                        <address uri="http://localhost:9000/services/MTOMSwASampleService" optimize="mtom"/>
+                    </endpoint>
+                </send>
+            </filter>
+            <filter source="get-property('Action')" regex="urn:uploadFileUsingSwA">
+                <property name="example" value="swa"/>
+                <send>
+                    <endpoint>
+                        <address uri="http://localhost:9000/services/MTOMSwASampleService" optimize="swa"/>
+                    </endpoint>
+                </send>
+            </filter>
+        </in>
+        <out>
+            <filter source="get-property('example')" regex="mtom">
+                <property name="enableMTOM" value="true" scope="axis2"/>
+            </filter>
+            <filter source="get-property('example')" regex="swa">
+                <property name="enableSwA" value="true" scope="axis2"/>
+            </filter>
+            <send/>
+        </out>
+    </sequence>
+
 </definitions>

Modified: synapse/trunk/java/repository/conf/sample/synapse_sample_52.xml
URL: http://svn.apache.org/viewvc/synapse/trunk/java/repository/conf/sample/synapse_sample_52.xml?rev=964445&r1=964444&r2=964445&view=diff
==============================================================================
--- synapse/trunk/java/repository/conf/sample/synapse_sample_52.xml (original)
+++ synapse/trunk/java/repository/conf/sample/synapse_sample_52.xml Thu Jul 15 14:37:34 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
@@ -57,7 +58,7 @@
 
     <sequence name="errorHandler">
         <makefault response="true">
-            <code value="tns:Receiver" xmlns:tns="http://www.w3.org/2003/05/soap-envelope"/>
+            <code xmlns:tns="http://www.w3.org/2003/05/soap-envelope" value="tns:Receiver"/>
             <reason value="COULDN'T SEND THE MESSAGE TO THE SERVER."/>
         </makefault>
         <send/>

Modified: synapse/trunk/java/repository/conf/sample/synapse_sample_53.xml
URL: http://svn.apache.org/viewvc/synapse/trunk/java/repository/conf/sample/synapse_sample_53.xml?rev=964445&r1=964444&r2=964445&view=diff
==============================================================================
--- synapse/trunk/java/repository/conf/sample/synapse_sample_53.xml (original)
+++ synapse/trunk/java/repository/conf/sample/synapse_sample_53.xml Thu Jul 15 14:37:34 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
@@ -57,7 +58,7 @@
 
     <sequence name="errorHandler">
         <makefault response="true">
-            <code value="tns:Receiver" xmlns:tns="http://www.w3.org/2003/05/soap-envelope"/>
+            <code xmlns:tns="http://www.w3.org/2003/05/soap-envelope" value="tns:Receiver"/>
             <reason value="COULDN'T SEND THE MESSAGE TO THE SERVER."/>
         </makefault>
         <send/>

Modified: synapse/trunk/java/repository/conf/sample/synapse_sample_54.xml
URL: http://svn.apache.org/viewvc/synapse/trunk/java/repository/conf/sample/synapse_sample_54.xml?rev=964445&r1=964444&r2=964445&view=diff
==============================================================================
--- synapse/trunk/java/repository/conf/sample/synapse_sample_54.xml (original)
+++ synapse/trunk/java/repository/conf/sample/synapse_sample_54.xml Thu Jul 15 14:37:34 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
@@ -18,7 +19,7 @@
   -->
 
 <!-- Session affinity load balancing between 3 endpoints.
-        (We are using client initiated session for this sample) -->
+            (We are using client initiated session for this sample) -->
 <definitions xmlns="http://synapse.apache.org/ns/2010/04/configuration">
 
     <sequence name="main" onError="errorHandler">
@@ -26,7 +27,7 @@
             <send>
                 <endpoint>
                     <!-- specify the session as the simple client session provided by Synapse for
-                    testing purpose -->
+                                            testing purpose -->
                     <session type="simpleClientSession"/>
 
                     <loadbalance>
@@ -59,7 +60,7 @@
 
     <sequence name="errorHandler">
         <makefault response="true">
-            <code value="tns:Receiver" xmlns:tns="http://www.w3.org/2003/05/soap-envelope"/>
+            <code xmlns:tns="http://www.w3.org/2003/05/soap-envelope" value="tns:Receiver"/>
             <reason value="COULDN'T SEND THE MESSAGE TO THE SERVER."/>
         </makefault>
         <send/>

Modified: synapse/trunk/java/repository/conf/sample/synapse_sample_55.xml
URL: http://svn.apache.org/viewvc/synapse/trunk/java/repository/conf/sample/synapse_sample_55.xml?rev=964445&r1=964444&r2=964445&view=diff
==============================================================================
--- synapse/trunk/java/repository/conf/sample/synapse_sample_55.xml (original)
+++ synapse/trunk/java/repository/conf/sample/synapse_sample_55.xml Thu Jul 15 14:37:34 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
@@ -27,7 +28,7 @@
             <send>
                 <endpoint>
                     <!-- specify the session as the simple client session provided by Synapse for
-                    testing purpose -->
+                                     testing purpose -->
                     <session type="simpleClientSession"/>
 
                     <loadbalance>
@@ -73,7 +74,7 @@
 
     <sequence name="errorHandler">
         <makefault response="true">
-            <code value="tns:Receiver" xmlns:tns="http://www.w3.org/2003/05/soap-envelope"/>
+            <code xmlns:tns="http://www.w3.org/2003/05/soap-envelope" value="tns:Receiver"/>
             <reason value="COULDN'T SEND THE MESSAGE TO THE SERVER."/>
         </makefault>
         <send/>

Modified: synapse/trunk/java/repository/conf/sample/synapse_sample_56.xml
URL: http://svn.apache.org/viewvc/synapse/trunk/java/repository/conf/sample/synapse_sample_56.xml?rev=964445&r1=964444&r2=964445&view=diff
==============================================================================
--- synapse/trunk/java/repository/conf/sample/synapse_sample_56.xml (original)
+++ synapse/trunk/java/repository/conf/sample/synapse_sample_56.xml Thu Jul 15 14:37:34 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
@@ -37,4 +38,4 @@
         </out>
     </sequence>
 
-</definitions>
\ No newline at end of file
+</definitions>

Modified: synapse/trunk/java/repository/conf/sample/synapse_sample_57.xml
URL: http://svn.apache.org/viewvc/synapse/trunk/java/repository/conf/sample/synapse_sample_57.xml?rev=964445&r1=964444&r2=964445&view=diff
==============================================================================
--- synapse/trunk/java/repository/conf/sample/synapse_sample_57.xml (original)
+++ synapse/trunk/java/repository/conf/sample/synapse_sample_57.xml Thu Jul 15 14:37:34 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
@@ -44,7 +45,7 @@
 
     <sequence name="errorHandler">
         <makefault response="true">
-            <code value="tns:Receiver" xmlns:tns="http://www.w3.org/2003/05/soap-envelope"/>
+            <code xmlns:tns="http://www.w3.org/2003/05/soap-envelope" value="tns:Receiver"/>
             <reason value="COULDN'T SEND THE MESSAGE TO THE SERVER."/>
         </makefault>
         <send/>

Modified: synapse/trunk/java/repository/conf/sample/synapse_sample_58.xml
URL: http://svn.apache.org/viewvc/synapse/trunk/java/repository/conf/sample/synapse_sample_58.xml?rev=964445&r1=964444&r2=964445&view=diff
==============================================================================
--- synapse/trunk/java/repository/conf/sample/synapse_sample_58.xml (original)
+++ synapse/trunk/java/repository/conf/sample/synapse_sample_58.xml Thu Jul 15 14:37:34 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
@@ -42,7 +43,7 @@
 
     <sequence name="errorHandler">
         <makefault response="true">
-            <code value="tns:Receiver" xmlns:tns="http://www.w3.org/2003/05/soap-envelope"/>
+            <code xmlns:tns="http://www.w3.org/2003/05/soap-envelope" value="tns:Receiver"/>
             <reason value="COULDN'T SEND THE MESSAGE TO THE SERVER."/>
         </makefault>
         <send/>