Re: Problem with netty4:udp and udpByteArrayCodec=true

2018-11-11 Thread Ron Cecchini
Bazinga! Thanks, Zoran. 'useByteBuf' was right in front of my face - right above 'udpByteArrayCodec' - and I didn't see it. At any rate, I tried what you said - and it didn't work right away - but that was my fault, not yours. I first tried getting rid of the convertBodyTo(), as you mentioned

Re: Problem with netty4:udp and udpByteArrayCodec=true

2018-11-09 Thread Zoran Regvart
Hi Ron, I'm far from an expert on Netty, it seems to me like that `convertBodyTo(String.class, "UTF-8")` will lead to issues with binary data. What you want (I think) is `.to("netty4:udp://host:port?allowDefaultCodec=false&useByteBuf=true")` without `convertBodyTo` zoran On Fri, Nov 9, 2018 at