John D. Ament created CXF-7543:
----------------------------------

             Summary: JAX-RS Features not used in proxies or WebClients
                 Key: CXF-7543
                 URL: https://issues.apache.org/jira/browse/CXF-7543
             Project: CXF
          Issue Type: Bug
    Affects Versions: 3.2.0
            Reporter: John D. Ament


Suppose that you are using JAXRSClientFactoryBean to create a new client.  You 
may call some code like this:
{code}
        JAXRSClientFactoryBean bean = new JAXRSClientFactoryBean();
        bean.setAddress(baseUri);
        bean.setServiceClass(aClass);
        bean.setProviders(asList(new SomeFeature()));
        bean.setProperties(properties);
        return bean.create(aClass);
{code}

If your {{SomeFeature}} registers additional providers, then those providers 
are never considered for use on the proxy or WebClient instance created.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to