camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: HL7/netty4/BodyType: io.netty.buffer.UnpooledUnsafeDirectByteBuf
Date Fri, 22 Jan 2016 07:20:22 GMT
On Tue, Jan 19, 2016 at 4:54 PM, Walzer, Thomas
<> wrote:
> Hi,
> camel-2.15.2
> I can successfully send to a HL7-Server, however I have troubles accessing the resulting
> Unfortunately it is of type UnpooledUnsafeDirectByteBuf and type conversion to string
> ....On delivery attempt: 2 caught: org.apache.camel.TypeConversionException: Error during
type conversion from type: java.lang.String to the required type: java.lang.String with value
UnpooledUnsafeDirectByteBuf(freed) due io.netty.util.IllegalReferenceCountException: refCnt:

Sounds like you are doing redelivery and the byte buf is not reset on
redelivery or something so the data stream becomes empty and not
convertable to a string type. A bit like when you are not using stream

> Any ideas how to work with the ACK (besides logging which works)?
> Cheers, Thomas.

Claus Ibsen
----------------- @davsclaus
Camel in Action 2:

View raw message