You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by pz...@apache.org on 2006/01/17 04:51:00 UTC
svn commit: r369662 - in /incubator/synapse/trunk/java: bin/synapse.bat
repository/synapse.xml
Author: pzf
Date: Mon Jan 16 19:50:54 2006
New Revision: 369662
URL: http://svn.apache.org/viewcvs?rev=369662&view=rev
Log:
update bin file to support change in axis2 and update synapse xml to use webservicex.net
Modified:
incubator/synapse/trunk/java/bin/synapse.bat
incubator/synapse/trunk/java/repository/synapse.xml
Modified: incubator/synapse/trunk/java/bin/synapse.bat
URL: http://svn.apache.org/viewcvs/incubator/synapse/trunk/java/bin/synapse.bat?rev=369662&r1=369661&r2=369662&view=diff
==============================================================================
--- incubator/synapse/trunk/java/bin/synapse.bat (original)
+++ incubator/synapse/trunk/java/bin/synapse.bat Mon Jan 16 19:50:54 2006
@@ -66,7 +66,7 @@
goto runSynapse
:defaultParams
-set SYNAPSE_CMD_LINE_ARGS=synapse_repository 8080
+set SYNAPSE_CMD_LINE_ARGS=-p 8080 synapse_repository
goto runSynapse
:noJavaHome
Modified: incubator/synapse/trunk/java/repository/synapse.xml
URL: http://svn.apache.org/viewcvs/incubator/synapse/trunk/java/repository/synapse.xml?rev=369662&r1=369661&r2=369662&view=diff
==============================================================================
--- incubator/synapse/trunk/java/repository/synapse.xml (original)
+++ incubator/synapse/trunk/java/repository/synapse.xml Mon Jan 16 19:50:54 2006
@@ -3,16 +3,28 @@
<engage-addressing-in/>
<log/>
</stage>
- <stage name="service-specific" >
- <regex message-address="to" pattern="http://xmethods.*">
- <header type="to" value="http://64.124.140.30:9090/soap"/>
- <xpath expr="//*[Symbol='MSFT']">
- <fault/>
- </xpath>
+ <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>
<stage name="sender">
<send/>
</stage>
+
+ <!-- these are only called if referenced above-->
+ <never>
+ <stage name="stockquote">
+ <header type="to" value="http://localhost:6060/stockquote.asmx"/>
+ <xpath expr="//*[Symbol='MSFT']">
+ <fault/>
+ </xpath>
+ </stage>
+ </never>
</synapse>
---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org