This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

The UDP transport 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:

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

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.

<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.

  • No labels