Hi Sergey,

Thanks, yes no doubt setReceiveTimeout(10000000L) works.

I am keen about TTL:

 b.setProperty(AsyncHTTPConduitFactory.CONNECTION_TTL, "50000"); 

How does this behave ? and when it should be used. 
The receiveTimeout property itself name describes if response is not there
within time duration than break connection.

But I was thinking that  AsyncHTTPConduitFactory.CONNECTION_TTL property
might keep the connection live, but always receiveTimeout is given
preference(by default it is 60 sec, so if not specified connection breaks in
a minute)

Not sure  when to use AsyncHTTPConduitFactory.CONNECTION_TTL ?

Regards,
Chandra Shekhar





--
View this message in context: 
http://cxf.547215.n5.nabble.com/CXF-JAXRS-Client-HttpAsyncClient-and-KeepAlive-tp5747402p5767870.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to