You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@mina.apache.org by Chandrajeet Padhy <ch...@gmail.com> on 2008/10/24 19:13:07 UTC
Mina Messages gets clipped
Hi All,
I am having a typical problem while handling message receipts. I am
connecting to an end clients Server which sends responses for my deal
requests. Any they(Reuters) claim that they never send a reply clipped. Its
sent in its totality. But,
in my message Received method if I print the receipt its clipped and often
sometimes the message comes in 3parts.
What could be reason? Is there a specific configuration needs to be done to
tweak the buffer size?
The client claims that their message o/p doesn't exceed 4000 bytes.
Thanks,
Re: Mina Messages gets clipped
Posted by Ashish <pa...@gmail.com>.
Which decoder are you using? It might be that you need to accumulate the
message completely before decoding. Try using CumulativeProtocolDecoder
thanks
On Fri, Oct 24, 2008 at 10:43 PM, Chandrajeet Padhy
<ch...@gmail.com> wrote:
> Hi All,
>
> I am having a typical problem while handling message receipts. I am
> connecting to an end clients Server which sends responses for my deal
> requests. Any they(Reuters) claim that they never send a reply clipped. Its
> sent in its totality. But,
> in my message Received method if I print the receipt its clipped and often
> sometimes the message comes in 3parts.
>
> What could be reason? Is there a specific configuration needs to be done to
> tweak the buffer size?
>
> The client claims that their message o/p doesn't exceed 4000 bytes.
>
> Thanks,
>
--
thanks
ashish
Blog: http://www.ashishpaliwal.com/blog
My Photo Galleries: http://www.pbase.com/ashishpaliwal