diff --git a/client/src/main/java/nl/altindag/client/ClientConfig.java b/client/src/main/java/nl/altindag/client/ClientConfig.java index 4a9c730..b42815c 100644 --- a/client/src/main/java/nl/altindag/client/ClientConfig.java +++ b/client/src/main/java/nl/altindag/client/ClientConfig.java @@ -192,8 +192,7 @@ public com.sun.jersey.api.client.Client oldJerseyClient(SSLFactory sslFactory) { * JAX-RS configuration should be identical to {@link #jerseyClient(SSLFactory)} once CXF update to version 3.5.0 * But this function is still necessary to create CXF version of client that does not depend on Java SPI (/META-INF/services/javax.ws.rs.client.ClientBuilder) */ - @Bean - @Qualifier("cxf") + @Bean("cxf") public javax.ws.rs.client.Client cxfJaxRsClient(SSLFactory sslFactory) { // One can just use ClientBuilder.newBuilder(), Explicit use here is due to multiple JAX-RS implementations in classpath return new org.apache.cxf.jaxrs.client.spec.ClientBuilderImpl()