Hello Dustin,

I mean you are using one of the 2 available http client connectors
(see [1]). if so, you have to set the timeout parameters
("connectTimeout" and "readTimeout").
For more details about all available parameters and how to set them,
please refer to [1].

I hope this will help you.
best regards,
Thierry Boileau

[1] http://www.restlet.org/documentation/1.0/connectors

On Dec 10, 2007 5:57 PM, Dustin Whitney <[EMAIL PROTECTED]> wrote:
> All,
>
>     How do I set the client timeout?  I have seen reference to a method to the
> effect of client.setTimeout(), but that doesn't seem to be in the API any 
> more.
>
> My problem is that I've got a quartz (framework for running scheduled tasks) 
> job
> running in a webapp that is supposed to make a few REST calls and update a few
> fields in a database each time the call returns.  But sometimes the client 
> seems
> to hang and never come back, and since I don't want my quartz job running
> concurrently, the whole process stops and I've got to restart my webapp.  If I
> could set a timeout on the client, then the quartz job could end, and I 
> wouldn't
> need to restart my webapp to fix it.  Any help would be greatly appreciated.
>
> Thanks,
> Dustin
>

Reply via email to