The UDP transport allows you the ESB WSO2 Enterprise Integrator 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:
...
To enable the UDP transport, open the file <ESB<EI_HOME>/repository/conf/axis2/axis2.xml
file 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<EI_HOME>/samples/axis2Client/client_repo/conf/axis2.xmlxml
file as well. For an example of using the UDP transport, see Sample 267: Switching from UDP to HTTP/S.