[
https://issues.apache.org/jira/browse/CXF-3124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sergey Beryozkin reassigned CXF-3124:
-------------------------------------
Assignee: Sergey Beryozkin
> Accessing HTTPConduit in the CXF JAXRS client code 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: JAX-RS, Transports
> Affects Versions: 2.3.0
> Reporter: Sergey Beryozkin
> Assignee: 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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira