camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robina <>
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


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,

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message