The XMPP transport allows to send and receive chat messages.
<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>
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 |
<transportSender name="xmpp" class="org.apache.axis2.transport.xmpp.XMPPSender"> </transportSender>