The UDP transport enables you to send datagrams using the unreliable UDP/IP protocol.
![]() | Warning |
---|---|
Because UDP does not keep track of IP packets, you can lose messages sent over a raw UDP connection. It is up to you to provide a reliability layer to avoid message loss over UDP. |
A UDP URI has the following syntax:
udp://Host
[:Port
]?transportOptions
Where the transport options, transportOptions
, are specified
as follows:
?option
=value
&option
=value
&...
In XML configuration, you must escape the &
symbol, replacing it with
&
. For example:
?option
=value
&option
=value
&...
Table A.3 shows the options supported by the UDP URI.
Table A.3. SSL Transport Options
Option | Default | Description |
---|---|---|
minmumWireFormatVersion | 0 | The minimum version wire format that is allowed. |
trace | false | Causes all commands sent over the transport to be logged. |
useLocalHost | true | When true , causes the local machine's name to resolve to
localhost . |
datagramSize | 4*1024 | Specifies the size of a datagram. |
wireFormat | The name of the wire format to use. | |
wireFormat.* | All options with this prefix are used to configure the wire format. See Table A.4 for more information. |