Author: ruwan
Date: Fri Sep 24 10:05:53 2010
New Revision: 1000786
URL: http://svn.apache.org/viewvc?rev=1000786&view=rev
Log:
fixing samples to have the new filter configuration
Modified:
synapse/branches/2.0/repository/conf/sample/synapse_sample_1.xml
Modified: synapse/branches/2.0/repository/conf/sample/synapse_sample_1.xml
URL:
http://svn.apache.org/viewvc/synapse/branches/2.0/repository/conf/sample/synapse_sample_1.xml?rev=1000786&r1=1000785&r2=1000786&view=diff
==============================================================================
--- synapse/branches/2.0/repository/conf/sample/synapse_sample_1.xml (original)
+++ synapse/branches/2.0/repository/conf/sample/synapse_sample_1.xml Fri Sep 24
10:05:53 2010
@@ -24,12 +24,14 @@
<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"/>
- </endpoint>
- </send>
- <drop/>
+ <then>
+ <send>
+ <endpoint>
+ <address
uri="http://localhost:9000/services/SimpleStockQuoteService"/>
+ </endpoint>
+ </send>
+ <drop/>
+ </then>
</filter>
<send/>
</sequence>