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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.6
    • Fix Version/s: 3.2.7, 3.3.0
    • Component/s: JAX-RS
    • Labels:
      None
    • Estimated Complexity:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: