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/11/17 03:10:03 UTC

svn commit: r1035900 - /synapse/branches/2.0/repository/conf/sample/synapse_sample_51.xml

Author: ruwan
Date: Wed Nov 17 02:10:02 2010
New Revision: 1035900

URL: http://svn.apache.org/viewvc?rev=1035900&view=rev
Log:
Fixing the sample 51

Modified:
    synapse/branches/2.0/repository/conf/sample/synapse_sample_51.xml

Modified: synapse/branches/2.0/repository/conf/sample/synapse_sample_51.xml
URL: http://svn.apache.org/viewvc/synapse/branches/2.0/repository/conf/sample/synapse_sample_51.xml?rev=1035900&r1=1035899&r2=1035900&view=diff
==============================================================================
--- synapse/branches/2.0/repository/conf/sample/synapse_sample_51.xml (original)
+++ synapse/branches/2.0/repository/conf/sample/synapse_sample_51.xml Wed Nov 17 02:10:02 2010
@@ -24,28 +24,38 @@
     <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>
+                <then>
+                    <property name="example" value="mtom"/>
+                    <send>
+                        <endpoint>
+                            <address uri="http://localhost:9000/services/MTOMSwASampleService"
+                                     optimize="mtom"/>
+                        </endpoint>
+                    </send>
+                </then>
             </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>
+                <then>
+                    <property name="example" value="swa"/>
+                    <send>
+                        <endpoint>
+                            <address uri="http://localhost:9000/services/MTOMSwASampleService"
+                                     optimize="swa"/>
+                        </endpoint>
+                    </send>
+                </then>
             </filter>
         </in>
         <out>
             <filter source="get-property('example')" regex="mtom">
-                <property name="enableMTOM" value="true" scope="axis2"/>
+                <then>
+                    <property name="enableMTOM" value="true" scope="axis2"/>
+                </then>
             </filter>
             <filter source="get-property('example')" regex="swa">
-                <property name="enableSwA" value="true" scope="axis2"/>
+                <then>
+                    <property name="enableSwA" value="true" scope="axis2"/>
+                </then>
             </filter>
             <send/>
         </out>