Sure and it works, it supports longs or strings (not int as you did):

client.property("http.connection.timeout", 1000L);
client.property("http.receive.timeout", 1000L);


or

client.property("http.connection.timeout", "1000");
client.property("http.receive.timeout", "1000");



Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
<http://www.tomitribe.com>

2015-07-21 12:16 GMT-07:00 sgjava <[email protected]>:

> I'm using openejb-cxf-rs for JAX-RS client, so I'd assume the generic
> timeout
> properties would work?
>
>
>
> --
> 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-tp4675506p4675561.html
> Sent from the TomEE Users mailing list archive at Nabble.com.
>

Reply via email to