Skip to content

GH-1480: Switch to CompletableFuture in s-r-stream #1482

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 28, 2022

Conversation

garyrussell
Copy link
Contributor

Resolves #1480

Also reinstate deprecated AsyncAmqpTemplate2.

Resolves spring-projects#1480

Also reinstate deprecated `AsyncAmqpTemplate2`.
SettableListenableFuture<Boolean> future = new SettableListenableFuture<>();
future.set(false);
CompletableFuture<Boolean> future = new CompletableFuture<>();
future.complete(false);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just FYI: CompletableFuture.completedFuture(false); can be used instead.

@artembilan artembilan merged commit 97a508e into spring-projects:main Jul 28, 2022
@garyrussell garyrussell deleted the GH-1480 branch August 2, 2022 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Switch to CompletableFuture in spring-rabbit-stream
2 participants