Class UDPListener

  • All Implemented Interfaces:
    TransportListener, ManagementSupport

    public class UDPListener
    extends AbstractDatagramTransportListener<Endpoint>
    implements ManagementSupport
    Transport listener for the UDP protocol. Services accepting messages using this transport must be configured with the following parameters:
    transport.udp.port
    The UDP port to listen to (required).
    transport.udp.contentType
    The content type of the messages received (required). This setting is used to select the appropriate message builder.
    transport.udp.maxPacketSize
    The maximum packet size (optional; default 1024). Packets longer than the specified length will be truncated.
    See Also:
    org.apache.axis2.transport.udp