users@grizzly.java.net

Re: Setting the writeTimeout in NIOConnection

From: Oleksiy Stashok <oleksiy.stashok_at_oracle.com>
Date: Thu, 22 Nov 2012 14:16:58 +0100

Hi Andy,

can you pls. give more details, which Grizzly version are you using, are
you using core framework or HttpServer etc.

Thanks.

WBR,
Alexey.

On 11/22/2012 11:51 AM, Andrew MacGilvery wrote:
>
> Hi All,
>
> I'm seeing problems sending largish datasets to
> service consumers.
>
> After writing to the response for 30 seconds, the connection is closed.
>
> I'd like to increase the writeTimeout in NIOConnection to see if it
> has any effect on the problem, but I haven't been able to find out how
> to do it.
>
> What is the correct way to set this timeout?
>
> Kind regards,
>
> Andy
>
>
> ________________________________________________________________________
> In order to protect our email recipients, Betfair Group use SkyScan from
> MessageLabs to scan all Incoming and Outgoing mail for viruses.
>
> ________________________________________________________________________