10.13. Configuring the UDP Gateway

download PDF
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/>
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.