On Sun, 2008-05-04 at 14:28 +0300, Eugeny N Dzhurinsky wrote:
> On Sun, May 04, 2008 at 12:56:33PM +0200, Oleg Kalnichevski wrote:
> > On Sat, 2008-05-03 at 13:20 -0700, Ankur Shah wrote:
> > > Hi,
> > > 
> > > I am using MultiThreadedHttpConnectionManager with my HttpClient. I would
> > > like to get notified when let's say the connection and/or the pool goes
> > > down. Is there a way to register a callback listener that I can get 
> > > notified
> > > on?
> > > 
> > No, there is not
> 
> I guess he still can implement he's own pool and get such notifications,
> correct?
> 

This is correct. When using HttpClient 4.0 one does not even need to
implement a complete connection manager from scratch.
ThreadSafeClientConnManager in Httpclient 4.0 has a much more modular
architecture, so one can add all sort of notification callbacks just by
decorating existing classes.

Oleg


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to