I tried the non-proprietary way of connect/read timeouts which were supposed
to be supported according to https://issues.apache.org/jira/browse/CXF-6353.
The code fragment is:
final Client client = ClientBuilder.newClient();
// Use client properties the generic way
client.property("http.connection.timeout", 1000);
client.property("http.receive.timeout", 1000);
A simple project on Github https://github.com/sgjava/tomee-jaxrs-test
All the CXF stuff is at 3.1.0.
--
View this message in context:
http://tomee-openejb.979440.n4.nabble.com/javax-ws-rs-client-Client-read-timeout-not-working-TomEE-2-0-0-tp4675506.html
Sent from the TomEE Users mailing list archive at Nabble.com.