Show Table of Contents
10.13. Configuring the UDP Gateway
Call the esbMessage.getBody().get() method from within your actions to retrieve the byte array payload from messages arriving via the UDP Gateway.
Here are the options for configuring the gateway:
Table 10.10. UDP Gateway Configuration
| Property | Description | Comments |
|---|---|---|
| Host | The hostname/ip to which to listen. | Mandatory. |
| Port | The port to which to listen. | Mandatory. |
| handlerClass | A concrete implemenation of org.jboss.soa.esb.listeners.gateway.mina.MessageHandler. | Optional. Default is org.jboss.soa.esb.listeners.gateway.mina.DefaultMessageHandler. |
| is-gateway | UDPGatewayListener can only act as a gateway. | Mandatory. |
Here is an example configuration:
<udp-listener name="udp-listener" host="localhost" port="9999" handlerClass="org.jboss.soa.esb.listeners.gateway.mina.DefaultMessageHandler" is-gateway="true" <udp-listener/>

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.