users@grizzly.java.net

Setting the writeTimeout in NIOConnection

From: Andrew MacGilvery <Andrew.MacGilvery_at_betfair.com>
Date: Thu, 22 Nov 2012 10:51:07 +0000

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.

________________________________________________________________________