camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robina <rashcr...@fomltd.com>
Subject Setting TTL on Netty4 multicast endpoint
Date Thu, 27 Oct 2016 11:57:09 GMT
Hi all,

I'm using Netty4 to broadcast UDP datagrams using an endpoint configured as
follows:

netty4:udp://239.192.2.25:2100?sync=false&amp;broadcast=true&amp;allowDefaultCodec=false&amp;networkInterface=eth3&amp

The problem I have is that the default TTL is 1, but I'm required to
broadcast to a number of subnets, so need to increase the TTL to a higher
value.  Does anyone know what option I should be setting?

>From the camel documentation, it looks like I should be using the
'option.XXX' option, however I'm not sure what the option value should be. 
I've tried a few different combinations, e.g. option.IP_MULTICAST_TTL=5,
option.DatagramChannelConfig.IP_MULTICAST_TTL=5, option.timeToLive=5 etc.

Could anyone help out with the correct option?  And/or confirm if the
ability to change the TTL is supported in the netty4 component?

Thanks in advance,
Rob



--
View this message in context: http://camel.465427.n5.nabble.com/Setting-TTL-on-Netty4-multicast-endpoint-tp5789344.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message