The UDP gateway is an asynchronous gateway which can process messages received over the UDP protocol, a connectionless protocol based on top of IP, and is based on the Apache MINA project.
The gateway is configured through the <udp-listener>
element and supports the following attributes:
The default behavior of the gateway is to consume the incoming UDP packet and create an ESB message with its payload being a byte array containing the bytes which represent the incoming packet.
A typical configuration for this gateway is shown:
<udp-listener name="Chapter6UDPListener" host="localhost" port="9999"/>