Re: Throwing socketTimeoutException within HttpAsyncResponseConsumer consumeContent method

2016-10-20 Thread Oleg Kalnichevski
On Thu, 2016-10-20 at 12:11 +0200, Joan Balagueró wrote: > Hello, > > In my async client pool, I’ve currently set up a select interval of 1000ms. > But I need to control response timeouts of 50ms, 100ms, etc. > > So I’have tried to implement something like this in the 'consumeContent' > method o

Re: Controlling releaseConnection

2016-10-20 Thread Oleg Kalnichevski
On Wed, 2016-10-19 at 10:14 -0400, Pellerin, Clement wrote: > I agree with you this feature is strange and need not be added to the library. > As I said before, I need to preserve this feature for backwards compatibility. > It has something to do with delaying the emission of an MDN in an AS2 gatew

Throwing socketTimeoutException within HttpAsyncResponseConsumer consumeContent method

2016-10-20 Thread Joan Balagueró
Hello, In my async client pool, I’ve currently set up a select interval of 1000ms. But I need to control response timeouts of 50ms, 100ms, etc. So I’have tried to implement something like this in the 'consumeContent' method of my 'HttpAsyncResponseConsumer': public void consumeContent(final Con