Introduction

The XMPP transport allows to send and receive chat messages.

Transport listener

Configuration

<transportReceiver name="xmpp" class="org.apache.axis2.transport.xmpp.XMPPListener">
   <!-- Account details for google talk -->
   <parameter name="GoogleServer">
      <parameter name="transport.xmpp.ServerUrl">talk.google.com</parameter>
      <parameter name="transport.xmpp.ServerAccountUserName">axis2.xmpp.account1</parameter>
      <parameter name="transport.xmpp.ServerAccountPassword">apacheaxis2</parameter>
      <parameter name="transport.xmpp.ServerType">transport.xmpp.ServerType.GoogleTalk</parameter>
   </parameter>
</transportReceiver>

Transport Specific Parameters

Following transport specific service parameters are used:

Parameter Required Description
transport.xmpp.ServerUrl Yes The server url of the XMPP server
transport.xmpp.ServerAccountUserName Yes The user name of the XMPP account
transport.xmpp.ServerAccountPassword Yes The password for the XMPP account.
transport.xmpp.ServerType Yes The type of XMPP server

Transport sender

Configuration

<transportSender name="xmpp" class="org.apache.axis2.transport.xmpp.XMPPSender">
</transportSender>