Re: Jax-rs 2 client with clustering/failover features?

2015-06-22 Thread Sergey Beryozkin
ClientBuilder accepts JAX-RS features (if you mean you'd like to set a given feature once and have it available for all Clients/WebTargets). But 2.0 API is not integrated with CXF-specific features Cheers, Sergey On 22/06/15 20:51, Canning, Charles wrote: Given your example code: Client clien

Jax-rs 2 client with clustering/failover features?

2015-06-22 Thread Canning, Charles
Given your example code: Client client = ClientBuilder.newBuilder().newClient(); WebTarget target = client.target("http://localhost:8080/rs";); target = target.path("service").queryParam("a", "avalue"); Invocation.Builder builder = target.request(); Response response = builder.get(); Book book =