blob: 45c49c0c2803190a7f7b96f86f46da0a05ceae97 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>README</title>
</head>
<body>
<h1>Engaging Sandesha2/C Module</h1>
<p>Install sandesha2 module into &lt;axis2 deploy folder&gt;/modules folder.
Add the RMPhase information into axis2.xml as following. Search for 'RMPhase'
in the following xml block to identify the RM specific entries.</p>
<pre> &lt;!-- ================================================= --&gt;
&lt;!-- Phases --&gt;
&lt;!-- ================================================= --&gt;
&lt;phaseOrder type="inflow"&gt;
&lt;!-- System pre defined phases --&gt;
&lt;phase name="Transport"/&gt;
&lt;phase name="PreDispatch"/&gt;
&lt;phase name="Dispatch"/&gt;
&lt;phase name="PostDispatch"/&gt;
&lt;!-- End system pre defined phases --&gt;
&lt;!-- After PostDispatch phase, module or service author can add any phase as required --&gt;
&lt;!-- User defined phases could be added here --&gt;
&lt;!--phase name="userphase1"/--&gt;
&lt;phase name="RMPhase"/&gt;
&lt;/phaseOrder&gt;
&lt;phaseOrder type="outflow"&gt;
&lt;!-- User defined phases could be added here --&gt;
&lt;phase name="RMPhase"/&gt;
&lt;!--phase name="RMPhase"/--&gt;
&lt;!--phase name="userphase1"/--&gt;
&lt;!--system predefined phase--&gt;
&lt;phase name="MessageOut"/&gt;
&lt;/phaseOrder&gt;
&lt;phaseOrder type="INfaultflow"&gt;
&lt;!-- User defined phases could be added here --&gt;
&lt;!--phase name="userphase1"/--&gt;
&lt;phase name="RMPhase"/&gt;
&lt;/phaseOrder&gt;
&lt;phaseOrder type="Outfaultflow"&gt;
&lt;!-- User defined phases could be added here --&gt;
&lt;phase name="RMPhase"/&gt;
&lt;!--phase name="userphase1"/--&gt;
&lt;phase name="MessageOut"/&gt;
&lt;/phaseOrder&gt;
</pre>
<p>In the services xml file for the service which require RM enabled add the
entry &lt;module ref="sandesha2"/&gt; If you need all services in the engine
RM enabled add the above entry into axis2.xml.</p>
<p>You can use samples in the samples folder for testing.</p>
</body>
</html>