Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-7543

JAX-RS Features not used in proxies or WebClients

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.2.0, 3.4.4, 3.3.11
    • 3.5.0, 3.3.12, 3.4.5
    • None
    • None
    • Unknown

    Description

      Suppose that you are using JAXRSClientFactoryBean to create a new client. You may call some code like this:

              JAXRSClientFactoryBean bean = new JAXRSClientFactoryBean();
              bean.setAddress(baseUri);
              bean.setServiceClass(aClass);
              bean.setProviders(asList(new SomeFeature()));
              bean.setProperties(properties);
              return bean.create(aClass);
      

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

      Attachments

        Issue Links

          Activity

            People

              reta Andriy Redko
              johndament John D. Ament
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: