Uploaded image for project: 'Spring Integration'
  1. Spring Integration
  2. INT-3724

Please add support for CompletableFuture in Asynchronous Gateways

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 4.2 M1
    • Fix Version/s: 4.2 M2
    • Component/s: None
    • Labels:

      Description

      Currently asynchronous gateways only support Future<T> and ListenableFuture<T>. Please extend the support, for the new CompletionStage<T> interface and it's default implementation CompletableFuture<T>; while still maintaining backward compatibility to JDK6/7.

      The Spring Framework also added support for CompletableFuture in it's 4.2 version, so the implementation there might be a good starting Point (classes CompletableFutureReturnValueHandler, CompletionStageReturnValueHandler and their using sites).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              grussell Gary Russell
              Reporter:
              drothmaler Daniel Rothmaler
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: