Is there any retry parameter that can be set on HttpClient ?
Ravi C Kota
posted 6 years ago
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 & Regards, Ravi C.Kota
SCJP 5.0, OCDJWS 5.0