Author: supun
Date: Fri Jun 26 03:08:45 2009
New Revision: 40065
URL: http://wso2.org/svn/browse/wso2?view=rev&revision=40065

Log:
Adding transaction mediator guide

Added:
   branches/esb/java/2.1/product/docs/xdoc/mediators/transaction.xml

Added: branches/esb/java/2.1/product/docs/xdoc/mediators/transaction.xml
URL: 
http://wso2.org/svn/browse/wso2/branches/esb/java/2.1/product/docs/xdoc/mediators/transaction.xml?pathrev=40065
==============================================================================
--- (empty file)
+++ branches/esb/java/2.1/product/docs/xdoc/mediators/transaction.xml   Fri Jun 
26 03:08:45 2009
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
+      "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
+<head>
+  <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
+  <title>WSO2 ESB - XQuery Mediator </title>
+  <link href="css/esb-docs.css" rel="stylesheet" />
+  <link href="styles/dist-docs.css" rel="stylesheet" type="text/css"
+  media="all" />
+</head>
+
+<body>
+<h2>Transaction Mediator</h2>
+  <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>Syntax</h3>
+  <pre xml:space="preserve"> &lt;syn:transaction action="transaction-action" 
/&gt;</pre>
+  <h3>UI Configuration</h3>
+  <p>
+  <img alt="Transaction Mediator" 
src="../transaction-mediator/docs/images/trans.png"/>
+  </p>
+  <h3>Action</h3>
+  <ul>
+    <li>Commit transaction: End the transaction</li>
+    <li>Fault if no transaction: Go to error handler if no transaction</li>
+    <li>Initiate new transaction: Entry point for new transaction</li>
+    <li>Resume transaction: Resume a puased transaction</li>
+    <li>Suspend transaction: Puase a transaction</li>
+    <li>Rollback transaction: Rollback a transaction</li>
+    <li>Use existing or initiate transaction: If a transaction already exists 
continue it or create a new transaction</li>
+  </ul>
+<p></p>
+</body>
+</html>

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

Reply via email to