Author: saliya
Date: Thu Feb  5 18:52:54 2009
New Revision: 30508
URL: http://wso2.org/svn/browse/wso2?view=rev&revision=30508

Log:
Modified configuration language page to suite carbon based ESB

Modified:
   trunk/esb/java/docs/xdoc/configuration_language.xml

Modified: trunk/esb/java/docs/xdoc/configuration_language.xml
URL: 
http://wso2.org/svn/browse/wso2/trunk/esb/java/docs/xdoc/configuration_language.xml?rev=30508&r1=30507&r2=30508&view=diff
==============================================================================
--- trunk/esb/java/docs/xdoc/configuration_language.xml (original)
+++ trunk/esb/java/docs/xdoc/configuration_language.xml Thu Feb  5 18:52:54 2009
@@ -258,7 +258,7 @@
       Sequences</a>
     </h3>
     <p>
-      The Synapse ESB defines a 'mediator' as a component that is performs some
+      The Synapse ESB defines a 'mediator' as a component that performs some
       mediation action on a message during the process flow. Thus a mediator
       gets full access to a message at the point where it is defined to gain
       control, and could inspect the message, modify it or take an external
@@ -572,7 +572,22 @@
   &lt;suspendDurationOnFailure&gt;
     <em>suspend duration in seconds</em>
   &lt;/suspendDurationOnFailure&gt;?
-&lt;/address&gt;</pre>
+    
+  &lt;markForSuspension&gt;
+    [&lt;errorCodes&gt;xxx,yyy&lt;/errorCodes&gt;]
+    &lt;retriesBeforeSuspension&gt;m&lt;/retriesBeforeSuspension&gt;
+    &lt;retryDelay&gt;d&lt;/retryDelay&gt;
+  &lt;/markForSuspension&gt;
+
+  &lt;suspendOnFailure&gt;
+    [&lt;errorCodes&gt;xxx,yyy&lt;/errorCodes&gt;]
+    &lt;initialDuration&gt;n&lt;/initialDuration&gt;
+    &lt;progressionFactor&gt;r&lt;/progressionFactor&gt;
+    &lt;maximumDuration&gt;l&lt;/maximumDuration&gt;
+  &lt;/suspendOnFailure&gt;
+
+&lt;/address&gt;
+</pre>
     <p>
       Following are some sample address URI definitions.
     </p>
@@ -638,6 +653,20 @@
   &lt;enableSec [policy="key"]/&gt;?
   &lt;enableAddressing/&gt;?
   
&lt;suspendDurationOnFailure&gt;suspend-duration&lt;/suspendDurationOnFailure&gt;?
+
+  &lt;markForSuspension&gt;
+    [&lt;errorCodes&gt;xxx,yyy&lt;/errorCodes&gt;]
+    &lt;retriesBeforeSuspension&gt;m&lt;/retriesBeforeSuspension&gt;
+    &lt;retryDelay&gt;d&lt;/retryDelay&gt;
+  &lt;/markForSuspension&gt;
+
+  &lt;suspendOnFailure&gt;
+    [&lt;errorCodes&gt;xxx,yyy&lt;/errorCodes&gt;]
+    &lt;initialDuration&gt;n&lt;/initialDuration&gt;
+    &lt;progressionFactor&gt;r&lt;/progressionFactor&gt;
+    &lt;maximumDuration&gt;l&lt;/maximumDuration&gt;
+  &lt;/suspendOnFailure&gt;
+
   &lt;timeout&gt;
     &lt;duration&gt;timeout-duration&lt;/duration&gt;
     &lt;action&gt;discard|fault&lt;/action&gt;
@@ -711,9 +740,6 @@
       ( &lt;wsdl:definition&gt;...&lt;/wsdl:definition&gt; | 
&lt;wsdl20:description&gt;...&lt;/wsdl20:description&gt; )?
       &lt;resource location="..." key="..."/&gt;*
    &lt;/publishWSDL&gt;?
-   &lt;enableSec/&gt;?
-   &lt;enableRM/&gt;?
-   &lt;policy key="string" [type="(in | out)"]/&gt;?       // optional service 
or message level policies such as (e.g. WS-Security and/or WS-RM policies)
    &lt;parameter name="string"&gt;                 // optional service 
parameters such as (e.g. transport.jms.ConnectionFactory)
       string | xml
    &lt;/parameter&gt;
@@ -1162,8 +1188,10 @@
     </p>
     <p>
     </p>
-<pre xml:space="preserve"><a href="#send">send</a> | <a href="#drop">drop</a> 
| <a href="#log">log</a> | <a href="#property">property</a> | <a 
href="#sequence_ref">sequence</a> | <a href="#validate">validate</a> | <a 
href="#makefault">makefault</a> | <a href="#callout">callout</a> | <a 
href="#xslt">xslt</a> | <a href="#header">header</a> | <a 
href="#filter">filter</a> | <a href="#switch">switch</a> | <a href="#in">in</a> 
| <a href="#out">out</a> | <a href="#router">router</a>
-    | <a href="#dblookup">dblookup</a> | <a href="#dbreport">dbreport</a> | <a 
href="#RMSequence">RMSequence</a> | <a href="#throttle">throttle</a> | <a 
href="#xquery">xquery</a> | <a href="#cache">cache</a> | <a 
href="#clone">clone</a> | <a href="#iterate">iterate</a> | <a 
href="#aggregate">aggregate</a> | <a href="#class">class</a> | <a 
href="#pojoCommand">pojoCommand</a> | <a href="#script">script</a> | <a 
href="#spring">spring</a> </pre>
+<pre xml:space="preserve"><a href="#send">send</a> | <a href="#drop">drop</a> 
| <a href="#log">log</a> | <a href="#property">property</a> | <a 
href="#sequence_ref">sequence</a> | <a href="#validate">validate</a> | <a 
href="#fault">fault</a> | <a href="#callout">callout</a> | <a 
href="#xslt">xslt</a> | <a href="#header">header</a> | <a 
href="#filter">filter</a> | <a href="#switch">switch</a> | <a href="#in">in</a> 
| <a href="#out">out</a> | <a href="#router">router</a>
+    | <a href="#dblookup">dblookup</a> | <a href="#dbreport">dbreport</a> | <a 
href="#RMSequence">RMSequence</a> | <a href="#throttle">throttle</a> | <a 
href="#xquery">xquery</a> | <a href="#cache">cache</a> | <a 
href="#clone">clone</a> | <a href="#iterate">iterate</a> | <a 
href="#aggregate">aggregate</a> | <a href="#class">class</a> | <a 
href="#pojoCommand">pojoCommand</a> | <a href="#script">script</a> | <a 
href="#spring">spring</a>
+    | <a href="#event">event</a> | <a href="#transaction">transaction</a>
+</pre>
     <p>
     </p>
     <p>
@@ -1581,7 +1609,7 @@
     <p>
     </p>
     <h4>
-      <a id="makefault">Makefault</a>
+      <a id="fault">Fault</a>
     </h4>
     <p>
     </p>
@@ -1595,7 +1623,7 @@
     <p>
     </p>
     <p>
-      The &lt;makefault&gt; mediator transforms the current message into a 
fault
+      The fault mediator transforms the current message into a fault
       message, but does NOT send it. The &lt;send&gt; mediator needs to be
       invoked to send a fault message created this way. The fault message "To"
       header is set to the "Fault-To" of the original message if such a header
@@ -2217,7 +2245,34 @@
     </p>
     <p>
     </p>
-    <h3>
+      <h4>
+          <a id="event">Event</a>
+      </h4>
+      <p>
+      </p>
+      <p>
+          <pre xml:space="preserve"> &lt;syn:eventPublisher 
eventSourceName="event-source-name"/&gt;</pre>
+      </p>
+      <p>
+          Event mediator publishes events to the given event source. Thus, the 
presence of defined event sources
+          are necessary prior to the usage of this mediator. 
+      </p>
+      <h4>
+          <a id="transaction">Transaction</a>
+      </h4>
+      <p>
+      </p>
+      <p>
+          <pre xml:space="preserve"> &lt;syn:transaction 
action="transaction-action" /&gt;</pre>
+      </p>
+      <p>
+          Transaction mediator can provide transaction facility for a set of 
mediators defined as its child mediators.
+          A transaction mediator with the action "new" indicates the entry 
point for the transaction. A transaction is
+          marked completed by a transaction mediator with the action "commit". 
The suspend and resume actions are used
+          to pause a transaction at some point and start it again later. 
Additionally, the transaction mediator supports
+          three other actions, i.e. use-existing-or-new, fault-if-no-tx, 
rollback.
+      </p>
+      <h3>
       Extension mediators
     </h3>
     <p>

_______________________________________________
Esb-java-dev mailing list
[email protected]
https://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev

Reply via email to