Hi,
I think it should be "IP_MULTICAST_TTL"
https://github.com/netty/netty/blob/4.1/transport/src/main/java/io/netty/channel/ChannelOption.java#L122
But note that the ChannelOptions are no longer string literal unlike netty3...
hopefully something like following would work
if (configuration.getOptions() != null) {
for (Map.Entry<String, Object> entry :
configuration.getOptions().entrySet()) {
clientBootstrap.option(ChannelOption.valueOf(entry.getKey()),
entry.getValue());
}
}
Thanks,
Tomo
On 10/28/2016 11:39 PM, robina wrote:
Aha, many thanks Tomo.
I'll raise the issue in JIRA.
Following the update, do you know what I'd replace the 'XXX' with in the
'option.XXX' option to update the multicast TTL?
Regards,
Rob
--
View this message in context:
http://camel.465427.n5.nabble.com/Setting-TTL-on-Netty4-multicast-endpoint-tp5789344p5789404.html
Sent from the Camel - Users mailing list archive at Nabble.com.