aspose file tools*
The moose likes Other Open Source Projects and the fly likes Is there any retry parameter that can be set on HttpClient ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Is there any retry parameter that can be set on HttpClient ?" Watch "Is there any retry parameter that can be set on HttpClient ?" New topic
Author

Is there any retry parameter that can be set on HttpClient ?

Ravi C Kota
Ranch Hand

Joined: Jan 29, 2008
Posts: 61
Hi All,

In our project, we use HttpClient in making a webservice call to Axis and lately we had some instances where the connection is time out while sending the request. So we are wondering, if there is any parameter available in HttpClient api, that can be turned on/off for retrying the sending of request. Since if there is any property that can be set, we can avoid lot of coding and I see an example given at http://hc.apache.org/httpcomponents-client-ga/tutorial/html/fundamentals.html#d4e292, but I'm looking for some sort of config changes that would permit us to retry. Can some body advise me on this ?

Thanks


Thanks & Regards, Ravi C.Kota
SCJP 5.0, OCDJWS 5.0
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Is there any retry parameter that can be set on HttpClient ?