You're propable using the TextLineDecoder? Then you have to set the
maximum line length property (which defaults to 1KB). Use the
setMaxLineLength method to do this.

Jeroen Brattinga


On Sun, 2007-12-16 at 01:43 -0800, pietry wrote:
> I tried to increase the mina buffer sizes ( both receive and send) but this
> still has no success. I always get the same exception : 
> buffer.org.apache.mina.common.BufferDataException: Line is too long: 2954
> (Hexdump: empty)
> Used this getSessionConfig().setReceiveBufferSize();
> and getSessionConfig().setSendBufferSize();
> Any suggestions ?

Reply via email to