You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by as...@apache.org on 2006/05/26 12:27:12 UTC
svn commit: r409628 - in
/incubator/synapse/trunk/java/repository/conf/sample: synapse_sample_1.xml
synapse_sample_2.xml
Author: asankha
Date: Fri May 26 03:27:11 2006
New Revision: 409628
URL: http://svn.apache.org/viewvc?rev=409628&view=rev
Log:
simply for consistence of get-property() function namespace
Modified:
incubator/synapse/trunk/java/repository/conf/sample/synapse_sample_1.xml
incubator/synapse/trunk/java/repository/conf/sample/synapse_sample_2.xml
Modified: incubator/synapse/trunk/java/repository/conf/sample/synapse_sample_1.xml
URL: http://svn.apache.org/viewvc/incubator/synapse/trunk/java/repository/conf/sample/synapse_sample_1.xml?rev=409628&r1=409627&r2=409628&view=diff
==============================================================================
--- incubator/synapse/trunk/java/repository/conf/sample/synapse_sample_1.xml (original)
+++ incubator/synapse/trunk/java/repository/conf/sample/synapse_sample_1.xml Fri May 26 03:27:11 2006
@@ -14,7 +14,6 @@
<!-- send message to real endpoint and stop -->
<send/>
- <drop/>
</sequence>
<sequence name="customresponse">
@@ -23,7 +22,6 @@
<!-- now send the custom response back to the client and stop -->
<send/>
- <drop/>
</sequence>
<sequence name="stockquote">
@@ -75,7 +73,7 @@
<out>
<!-- is this a custom stock quote reply? -->
- <filter source="synapse:get-property('correlate/label')" regex="customquote">
+ <filter source="get-property('correlate/label')" regex="customquote">
<sequence ref="customresponse"/>
</filter>
Modified: incubator/synapse/trunk/java/repository/conf/sample/synapse_sample_2.xml
URL: http://svn.apache.org/viewvc/incubator/synapse/trunk/java/repository/conf/sample/synapse_sample_2.xml?rev=409628&r1=409627&r2=409628&view=diff
==============================================================================
--- incubator/synapse/trunk/java/repository/conf/sample/synapse_sample_2.xml (original)
+++ incubator/synapse/trunk/java/repository/conf/sample/synapse_sample_2.xml Fri May 26 03:27:11 2006
@@ -20,7 +20,6 @@
<!-- send the fault and stop processing -->
<send/>
- <drop/>
</on-fail>
</validate>
@@ -47,15 +46,14 @@
<log level="custom">
<property name="Text" value="Sending quote request"/>
- <property name="version" expression="synapse:get-property('version')"/>
- <property name="symbol" expression="synapse:get-property('symbol')"/>
+ <property name="version" expression="get-property('version')"/>
+ <property name="symbol" expression="get-property('symbol')"/>
</log>
<!-- send message to real endpoint referenced by name "invesbot" and stop -->
<send>
<endpoint ref="invesbot"/>
</send>
- <drop/>
</sequence>
<sequence name="customresponse">
@@ -64,7 +62,6 @@
<!-- now send the custom response back to the client and stop -->
<send/>
- <drop/>
</sequence>
<sequence name="stockquote">
@@ -116,7 +113,7 @@
<out>
<!-- is this a custom stock quote reply? -->
- <filter source="synapse:get-property('correlate/label')" regex="customquote">
+ <filter source="get-property('correlate/label')" regex="customquote">
<sequence ref="customresponse"/>
</filter>
---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org