Author: ruwan
Date: Wed Nov 17 02:10:19 2010
New Revision: 1035901
URL: http://svn.apache.org/viewvc?rev=1035901&view=rev
Log:
Fixing the sample 51
Modified:
synapse/trunk/java/repository/conf/sample/synapse_sample_51.xml
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=1035901&r1=1035900&r2=1035901&view=diff
==============================================================================
--- synapse/trunk/java/repository/conf/sample/synapse_sample_51.xml (original)
+++ synapse/trunk/java/repository/conf/sample/synapse_sample_51.xml Wed Nov 17
02:10:19 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>