Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The UDP transport implementation is also a recently added component to allows you the ESB to handle messages in user datagram protocol (UDP) format. The axis2-transport-udp.jar archive file contains the following UDP transport implementation classes, which are part of the Apache WS-Commons Transports project. The following classes implement the Axis2 transport listener and sender APIs respectively.:

  • org.apache.axis2.transport.udp.UDPListener
  • org.apache.axis2.transport.udp.UDPSender

The axis2-transport-udp.jar archive file contains these implementation classes.

...

hiddentrue

...

To enable the UDP transport, open the file <ESB_HOME>/repository/conf/axis2/axis2.xml in a text editor and add the following transport configurations.

Code Block
<transportReceiver name="udp" class="org.apache.axis2.transport.udp.UDPListener"/>
<transportSender name="udp" class="org.apache.axis2.transport.udp.UDPSender"/>

If you want to use the sample Axis2 client to send UDP messages, add the UDP transport sender configuration in the <ESB_HOME>/samples/axis2Client/client_repo/conf/axis2.xml file as well.