camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Müller <christian.muel...@gmail.com>
Subject Re: Camel mina : data truncated to 1024 bytes
Date Fri, 08 Mar 2013 23:28:38 GMT
Good to know you could figure it out by yourself.

Best,
Christian

Sent from a mobile device
Am 07.03.2013 23:44 schrieb "nil" <icicniko@hotmail.com>:

> 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.
>
> NIL
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Camel-mina-data-truncated-to-1024-bytes-tp5728733p5728804.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message