Hello,

I am sure this question has been answered somewhere, but I can't seem to get
my search criteria to return the answer. 

I have a camel-netty route setup using spring xml. The route receives a udp
datagram, decodes it and prints the payload, then encodes the message and
sends it out again on a different port. The route looks like this:

<route>
<from
uri="netty:udp://0.0.0.0:1972?allowDefaultCodec=false&amp;sync="false"/>
... beans to decode message, print some values, and encode the message ...
<to
uri="netty:udp://127.0.0.1:1973?allowDefaultCodec=false&amp;sync="false"/>
</route>

This works perfectly if the client is on localhost, but I would like to
modify it to work for any client attempting to send the udp datagrams. How
would I dynamically detect the host information and respond?

Thanks!
kmach

--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-netty-Dynamic-route-endpoint-tp5551262p5551262.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to