I've updated the JAXRS test, JAXRSAsyncClientTest:

@Test
    public void testPatchBook() throws Exception {
        String address = "http://localhost:"; + PORT + "/bookstore/patch";
        WebClient wc = WebClient.create(address);
        wc.type("application/xml");

WebClient.getConfig(wc).getRequestContext().put("use.async.http.conduit", true);

WebClient.getConfig(wc).getHttpConduit().getClient().setReceiveTimeout(10000000L);
Book book = wc.invoke("PATCH", new Book("Patch", 123L), Book.class);
        assertEquals("Patch", book.getName());
        wc.close();
    }

and after putting a breakpoint in BookStore patchBook method I see it staying on the breakpoint without timing out...

Cheers, Sergey
On 12/04/16 14:01, Sergey Beryozkin wrote:
Hi

I've only opened an issue to make sure this issue is being tracked

https://issues.apache.org/jira/browse/CXF-6846

Cheers, Sergey
On 12/04/16 13:50, chandra shekhar wrote:
Hi Sergey,

Sorry to bother you.
Did you find something ?

Regards,
Chandra Shekhar



--
View this message in context:
http://cxf.547215.n5.nabble.com/CXF-JAXRS-Client-HttpAsyncClient-and-KeepAlive-tp5747402p5767808.html

Sent from the cxf-user mailing list archive at Nabble.com.





--
Sergey Beryozkin

Talend Community Coders
http://coders.talend.com/

Reply via email to