Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Ravi C Kota
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic