You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by Apache Wiki <wi...@apache.org> on 2005/12/20 07:03:00 UTC
[Ws Wiki] Update of "Synapse/UserGuide" by SamindaAbeyruwan
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Ws Wiki" for change notification.
The following page has been changed by SamindaAbeyruwan:
http://wiki.apache.org/ws/Synapse/UserGuide
------------------------------------------------------------------------------
}}}
Note that the rules, like the stages, can have more than one child. While it isn’t fixed in Synapse, the built-in rules and mediators all use the same “plan” to execute their children, which involves executing in the lexical order that they occur in the synapse.xml.
+ == Ruel Configuration Elements ==
+
+ Synapse rule configurations are done with xml Elements. Every Element maps to a instance of a Processor. Thus, there are Elements that can be used in hierarchical order, which exhibits a higher precedence over some Elements (ex: <regex/> over <xpath/>) and others will act stand alone (ex: <engage-addressing-in/>).
+
+ {{{
+ Elements that can be used in hierarchical order as follows with there default precedence.
+
+ 1.<regex/>
+ 2.<xpaht/>
+
+ Elements that can be used in stand alone
+
+ 1.<engage-addressing-in/>
+ 2.<servicemediator/>
+ 3.<classmediator/>
+
+ Built in Elements
+
+ 1.<log/>
+ 2.<fault/>
+ 3.<send/>
+ 4.<header/>
+
+ Stage Elements
+
+ 1.<stage/>
+ 2.<in/>
+ 3.<out/>
+ 4.<never/>
+
+ Reference Elements
+
+ 1. <ref/>
+ }}}
+
+
== Samples ==
=== Logging ===