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

Refactor RxJava2 Flowable and Observable Rx Invokers to not use internal APIs.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.2.6
    • 3.2.7, 3.3.0
    • JAX-RS
    • None
    • Unknown

    Description

      Customers wanting to use reactive extensions may want to package their own version of RxJava2 with their application. The use of internal APIs may cause class loading problems.

      Caused by: java.lang.NoClassDefFoundError: org/apache/cxf/jaxrs/client/SyncInvokerImpl
      at org.apache.cxf.jaxrs.rx2.client.FlowableRxInvokerProvider.getRxInvoker(FlowableRxInvokerProvider.java:37)
      at org.apache.cxf.jaxrs.rx2.client.FlowableRxInvokerProvider.getRxInvoker(FlowableRxInvokerProvider.java:29)
      at org.apache.cxf.jaxrs.client.WebClient.rx(WebClient.java:1286)
      at org.apache.cxf.jaxrs.client.spec.InvocationBuilderImpl.rx(InvocationBuilderImpl.java:402)

      FlowableRxInvokerProvider uses org.apache.cxf.jaxrs.client.SyncInvokerImpl.
      FlowableRxInvokerImpl uses org.apache.cxf.jaxrs.client.WebClient.
      ObservableRxInvokerProvider uses org.apache.cxf.jaxrs.client.SyncInvokerImpl.
      ObservableRxInvokerImpl uses org.apache.cxf.jaxrs.client.WebClient.

      These classes need to be refactored.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jkoehler22 John Koehler
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: