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" <icicn...@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. >