camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nil <>
Subject Re: Camel mina : data truncated to 1024 bytes
Date Fri, 08 Mar 2013 06:42:21 GMT
We finally find the problem which was in our ProtocolEncoder implementation.
In fact, the doDecode was reading just 1024 first bytes in the ByteBuffer
whereas our frame (which know its length) was indicating more bytes. To
prevent that, we resume reading in IoSession and returns false in doDocode
if our length is not the same as remaining in the ByteBuffer. 

Thanks for all.


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

View raw message