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/02/25 16:11:53 UTC
svn commit: r916314 -
/synapse/trunk/java/src/site/xdoc/Synapse_Configuration_Language.xml
Author: ruwan
Date: Thu Feb 25 15:11:52 2010
New Revision: 916314
URL: http://svn.apache.org/viewvc?rev=916314&view=rev
Log:
Applying the property mediator docs patch
Modified:
synapse/trunk/java/src/site/xdoc/Synapse_Configuration_Language.xml
Modified: synapse/trunk/java/src/site/xdoc/Synapse_Configuration_Language.xml
URL: http://svn.apache.org/viewvc/synapse/trunk/java/src/site/xdoc/Synapse_Configuration_Language.xml?rev=916314&r1=916313&r2=916314&view=diff
==============================================================================
--- synapse/trunk/java/src/site/xdoc/Synapse_Configuration_Language.xml (original)
+++ synapse/trunk/java/src/site/xdoc/Synapse_Configuration_Language.xml Thu Feb 25 15:11:52 2010
@@ -1185,7 +1185,7 @@
<h4>
<a name="property" id="property">Property</a>
</h4>
-<pre xml:space="preserve"> <property name="string" [action=set|remove] [type="string"] (value="literal" | expression="xpath") [scope=transport|axis2|axis2-client]>
+<pre xml:space="preserve"> <property name="string" [action=set|remove] [type="string"] (value="literal" | expression="xpath") [scope=transport|axis2|axis2-client] [pattern="regex" [group="integer"]]>
<xml-element/>?
</property></pre>
<p>
@@ -1201,6 +1201,13 @@
existing message context properties.
</p>
<p>
+ If a pattern is specified, this regular expression will be applied on
+ top of the value of the property. If group number is specified the matching
+ group will be set as the value of the property. If group is not specified,
+ it defaults to 0. If a patter is specified and it is not matched, the
+ value will be set to empty string.
+ </p>
+ <p>
Using the type attribute one can set properties with specific types on
the message context. Currently the type attribute accepts following
data types.