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/09/24 12:05:10 UTC

svn commit: r1000785 - /synapse/trunk/java/repository/conf/sample/synapse_sample_1.xml

Author: ruwan
Date: Fri Sep 24 10:05:10 2010
New Revision: 1000785

URL: http://svn.apache.org/viewvc?rev=1000785&view=rev
Log:
Fixed the sample to have the new filter configuratoin

Modified:
    synapse/trunk/java/repository/conf/sample/synapse_sample_1.xml

Modified: synapse/trunk/java/repository/conf/sample/synapse_sample_1.xml
URL: http://svn.apache.org/viewvc/synapse/trunk/java/repository/conf/sample/synapse_sample_1.xml?rev=1000785&r1=1000784&r2=1000785&view=diff
==============================================================================
--- synapse/trunk/java/repository/conf/sample/synapse_sample_1.xml (original)
+++ synapse/trunk/java/repository/conf/sample/synapse_sample_1.xml Fri Sep 24 10:05:10 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>