Hi!

> I have been successful in sending short string messages to my xml
> server (which is built on top of mina) however when my application
> first starts up (to connect to my server etc) the server returns the
> status of all the office phones this results in the return of quite a
> large string :-( and i get the following error...
>>
> cfg.getFilterChain().addLast(
>                                             "codec",
>                                             new ProtocolCodecFilter(
> new TextLineCodecFactory() ) );
The TextLineDecoder has a default maximum line length of 1024 bytes. You can 
use TextLineCodecFactory.setDecoderMaxLineLength() to allow larger messages.

bye; Paul.


-- 
ARIVA.DE AG, Paul Mallach, Produktentwicklung
Walkerdamm 17, 24103 Kiel
Tel.: +(49) 0431/97108-23, Fax: +(49) 0431/97108-29
E-Mail: [EMAIL PROTECTED], Web: www.ariva.de

Reply via email to