Author: saminda
Date: Wed Feb  8 01:10:09 2006
New Revision: 375902

URL: http://svn.apache.org/viewcvs?rev=375902&view=rev
Log:
updated synapse.xml that comes with deprication_mediator

Modified:
    
incubator/synapse/trunk/java/scripts/samples/deprecation_mediator/synapse.xml

Modified: 
incubator/synapse/trunk/java/scripts/samples/deprecation_mediator/synapse.xml
URL: 
http://svn.apache.org/viewcvs/incubator/synapse/trunk/java/scripts/samples/deprecation_mediator/synapse.xml?rev=375902&r1=375901&r2=375902&view=diff
==============================================================================
--- 
incubator/synapse/trunk/java/scripts/samples/deprecation_mediator/synapse.xml 
(original)
+++ 
incubator/synapse/trunk/java/scripts/samples/deprecation_mediator/synapse.xml 
Wed Feb  8 01:10:09 2006
@@ -1,39 +1,32 @@
 <synapse xmlns="http://ws.apache.org/ns/synapse";>
 
-    <stage name="logall">
-        <engage-addressing-in/>
-        <log/>
-    </stage>
+    <engage-addressing-in/>
+    <log/>
 
-    <stage name="service-specific">
-        <!-- this matches the gateway case -->
-        <regex message-address="to" pattern="/StockQuote.*">
-            <ref ref="stockquote"/>
-        </regex>
-        <!-- this matches the virtual url case for either the proxy or ws-add 
case -->
-        <regex message-address="to" pattern="http://stockquote.*";>
-            <ref ref="stockquote"/>
-        </regex>
-    </stage>
+    <!-- this matches the gateway case -->
+    <regex message-address="to" pattern="/StockQuote.*">
+        <ref ref="stockquote"/>
+    </regex>
+    <!-- this matches the virtual url case for either the proxy or ws-add case 
-->
+    <regex message-address="to" pattern="http://stockquote.*";>
+        <ref ref="stockquote"/>
+    </regex>
 
-    <stage name="check-deprecation" >
-        <regex message-address="to" 
pattern="http://www.webservicex.net/stockquote.asmx";>
-            <servicemediator name="Deprecation" service="DeprecationMediator"/>
-        </regex>
-    </stage>
 
-    <stage name="sender">
-        <send/>
-    </stage>
+    <regex message-address="to"
+           pattern="http://www.webservicex.net/stockquote.asmx";>
+        <servicemediator name="Deprecation" service="DeprecationMediator"/>
+    </regex>
+
+    <send/>
 
     <!-- these are only called if referenced above-->
-    <never>
-        <stage name="stockquote">
-            <header type="to" 
value="http://www.webservicex.net/stockquote.asmx"; />
-            <xpath expr="//*[wsx:symbol='MSFT']" 
xmlns:wsx="http://www.webserviceX.NET/";>
-                <fault/>
-            </xpath>
-        </stage>
-    </never>
+    <define name="stockquote">
+        <header type="to" value="http://www.webservicex.net/stockquote.asmx"/>
+        <xpath expr="//*[wsx:symbol='MSFT']"
+               xmlns:wsx="http://www.webserviceX.NET/";>
+            <fault/>
+        </xpath>
+    </define>
 </synapse>
 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to