Re: Netty TCP Producer- unable to get byte array from response

2024-03-07 Thread Gawie van der Merwe
Thanks we need the good luck :) From: Claus Ibsen Sent: Thursday, March 7, 2024 1:03:16 PM To: users@camel.apache.org Subject: Re: Netty TCP Producer- unable to get byte array from response Hi Thanks for sharing your solution. And good luck on the Camel

Re: Netty TCP Producer- unable to get byte array from response

2024-03-07 Thread Claus Ibsen
Hi Thanks for sharing your solution. And good luck on the Camel upgrade. On Thu, Mar 7, 2024 at 11:34 AM Gawie van der Merwe wrote: > We finally solved it by adding another decoder which returns a byte[] > > @BindToRegistry > public ChannelHandlerFactory epdecoderbyte() { > return

Re: Netty TCP Producer- unable to get byte array from response

2024-03-07 Thread Gawie van der Merwe
We finally solved it by adding another decoder which returns a byte[] @BindToRegistry public ChannelHandlerFactory epdecoderbyte() { return ChannelHandlerFactories.newByteArrayDecoder("tcp"); } From: Gawie van der Merwe Sent: Thursday, 07 March

Netty TCP Producer- unable to get byte array from response

2024-03-07 Thread Gawie van der Merwe
Hi guys, We are upgrading from camel 2.12.2 --> 3.21.2. And we have been stuck on Netty TCP. On the old version we recieved a response as "BodyType: org.jboss.netty.buffer.BigEndianHeapChannelBuffer" Now we get it as "PooledSlicedByteBuf(freed)". For the life of me are not able to get the