Skip to content

add asyncSend methods to AsyncMessagingOperations and AsyncMessagingTemplate [INT-1412] #5357

Closed

Description

@spring-operator

Mark Fisher opened INT-1412 and commented

#5406 addressed most of the async methods (for receive and sendAndReceive operations).

We need to consider what asyncSend() methods would return (or asyncConvertAndSend() methods).

Most likely, in keeping with the AsyncTaskExecutor, we should return a Future even though calling get() would only return NULL in the successful case (still providing value since it could otherwise throw a TimeoutException, ExecutionException, or CancellationException). Also, the Future does allow cancel() invocations.


No further details from INT-1412

Activity

  1. spring-operator commented on Sep 13, 2010

    @spring-operator
    ContributorAuthor

    Mark Fisher commented

    Added these methods with return values as Future<?> as described.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions