Re: Apache HttpClient - Using custom socket factory for failover support

2008-03-25 Thread Oleg Kalnichevski
On Mon, 2008-03-24 at 15:46 -0700, Ankur Shah wrote: Hi Oleg, Thanks for the response. The server that i am running (acting as a client in this particular case) is working with multiple servers (hosting different webservices) with each having a primary and a failover pair. From this

Re: Apache HttpClient - Using custom socket factory for failover support

2008-03-25 Thread Ankur Shah
Thanks oleg, Do you see any issues in the approach that i was thinking about (and have implemented already) other than the fact that its not very clean? Could you elaborate a bit more on what you mean by creating service on top of httpclient, (i understand what it'll do but just didn't know

Re: Apache HttpClient - Using custom socket factory for failover support

2008-03-24 Thread Oleg Kalnichevski
On Thu, 2008-03-20 at 22:05 -0700, Ankur Shah wrote: I am using httpclient to connect to a remote server. Now for each primary server there's also a backup failover server that i must talk to if connection attempts with the primary server fails. To achieve this what i'd ideally like to do is

Apache HttpClient - Using custom socket factory for failover support

2008-03-20 Thread Ankur Shah
I am using httpclient to connect to a remote server. Now for each primary server there's also a backup failover server that i must talk to if connection attempts with the primary server fails. To achieve this what i'd ideally like to do is have HttpClient use a custom factory that tries to create