Skip to content
Permalink
Browse files
Applied patch for TRANSPORTS-45.
  • Loading branch information
Sagara Gunathunga committed Feb 28, 2012
1 parent 098b29b commit 754174fb5f4bceec18f71e9fa6e4cc0b86bf6700
Showing 4 changed files with 56 additions and 4 deletions.
@@ -57,7 +57,7 @@
<item name="Mail Transport" href="mail.html"/>
<item name="TCP Transport" href="tcp-transport.html"/>
<item name="UDP Transport" href="udp.html"/>
<!--<item name="XMPP" href="xmpp.html"/> -->
<item name="XMPP" href="xmpp.html"/>
<item name="SMS Transport" href="sms.html"/>
<item name="Java Doc" href="apidocs/index.html"/>
</item>
@@ -38,7 +38,7 @@
<li><a href="./mail.html">E-Mail Transport</a></li>
<li><a href="./sms.html">SMS Transport</a></li>
<li><a href="./tcp-transport.html">TCP Transport</a></li>
<!--<li><a href="./xmpp.html">XMPP Transport</a></li>-->
<li><a href="./xmpp.html">XMPP Transport</a></li>
</ul>
</section>

@@ -48,7 +48,7 @@
<li><a href="./sms.html">SMS Transport</a></li>
<li><a href="./udp.html">UDP Transport</a></li>
<li>XMPP Transport</li>
<!--<li><a href="./xmpp.html">XMPP Transport</a></li> -->
<li><a href="./xmpp.html">XMPP Transport</a></li>
</ul>
</p>
</section>
@@ -22,5 +22,57 @@
<title>XMPP transport</title>
</properties>
<body>
<section name="Introduction">
<p>The XMPP transport allows to send and receive chat messages.</p>
</section>
<section name="Transport listener">
<subsection name="Configuration">
<pre xml:space="preserve">&lt;transportReceiver name="xmpp" class="org.apache.axis2.transport.xmpp.XMPPListener"&gt;
&lt;!-- Account details for google talk --&gt;
&lt;parameter name="GoogleServer"&gt;
&lt;parameter name="transport.xmpp.ServerUrl"&gt;talk.google.com&lt;/parameter&gt;
&lt;parameter name="transport.xmpp.ServerAccountUserName"&gt;axis2.xmpp.account1&lt;/parameter&gt;
&lt;parameter name="transport.xmpp.ServerAccountPassword"&gt;apacheaxis2&lt;/parameter&gt;
&lt;parameter name="transport.xmpp.ServerType"&gt;transport.xmpp.ServerType.GoogleTalk&lt;/parameter&gt;
&lt;/parameter&gt;
&lt;/transportReceiver&gt;</pre>
</subsection>
<subsection name="Transport Specific Parameters">
<p>Following transport specific service parameters are used:</p>
<table class="bodyTable">
<tr>
<th>Parameter</th>
<th>Required</th>
<th>Description</th>
</tr>
<tr>
<td>transport.xmpp.ServerUrl</td>
<td>Yes</td>
<td>The server url of the XMPP server</td>
</tr>
<tr>
<td>transport.xmpp.ServerAccountUserName</td>
<td>Yes</td>
<td>The user name of the XMPP account</td>
</tr>
<tr>
<td>transport.xmpp.ServerAccountPassword</td>
<td>Yes</td>
<td>The password for the XMPP account.</td>
</tr>
<tr>
<td>transport.xmpp.ServerType</td>
<td>Yes</td>
<td>The type of XMPP server</td>
</tr>
</table>
</subsection>
</section>
<section name="Transport sender">
<subsection name="Configuration">
<pre xml:space="preserve">&lt;transportSender name="xmpp" class="org.apache.axis2.transport.xmpp.XMPPSender"&gt;
&lt;/transportSender&gt;</pre>
</subsection>
</section>
</body>
</document>
</document>

0 comments on commit 754174f

Please sign in to comment.