Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 4.5.0.Final
    • Component/s: None
    • Labels:
      None

      Description

      MonoRxInvoker was originally created by following SingleRxInvoker (RxJava2); however, it turns out that it is doing eager processing.  In Reactor, unless there is a specific reason, the pipeline should be lazy.

       
      For instance, the following code starts making the http call before a subscription starts:

       

      final Mono<Response> mono = client.target(generateURL("/hello")).request().rx(MonoRxInvoker.class).get();
      

       

      It should instead wait for the subscription to start the http call:

      mono.subscribe();
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                asoldano Alessio Soldano
                Reporter:
                gurselan Anil Gursel
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: