Accessing HTTPConduit requires the cxf-rt-transports-http-jetty dependency
--------------------------------------------------------------------------
Key: CXF-3124
URL: https://issues.apache.org/jira/browse/CXF-3124
Project: CXF
Issue Type: Improvement
Components: Samples, Transports
Affects Versions: 2.3.0
Reporter: Sergey Beryozkin
Fix For: 2.4
1. WebClient wc = WebClient.create("http://localhost:8080/personservice");
2. WebClient.getConfig(wc).getHttpConduit().getClient().setAutoRedirect(true);
requires a cxf-rt-transports-http-jetty dependency, without it the 2nd line
fails with "No Destination Factory found for ..." message.
Given that no Jetty-specific code is relied upon during the invocation this
dependency should be made redundant.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.