Hi Simone, I guess you are using a CloseableHttpClient. Then to shutdown properly the ConnectionManager, you just have to call .close() method.
FX 2013/4/5 Simone Tripodi <[email protected]> > Hi all mates! > > I am working in a scenario where I have HttpClient instances in a registry; > when the application shuts down, I would like to shutdown the associated > ClientConnectionManager, but I see that since 4.3 version, HttpClient# > getConnectionManager() is a deprecated method. > > Can you suggest me please what is the correct way to retrieve the > associated ClientConnectionManager from a HttpClient instance? > > Many thanks in advance, all the best! > -Simo > > http://people.apache.org/~simonetripodi/ > http://simonetripodi.livejournal.com/ > http://twitter.com/simonetripodi > http://www.99soft.org/ >
