Hi
To be honest I'm not sure about this property either, but if setting a
receiveTimeout (which is consistent across all the conduits) works then
why not do it ?
Sergey
On 14/04/16 17:44, chandra shekhar wrote:
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.
--
Sergey Beryozkin
Talend Community Coders
http://coders.talend.com/