Skip to content

Conversation

@lukebakken
Copy link
Collaborator

The new ConfirmationChannel API introduced in
rabbitmq/rabbitmq-java-client#1824 provides asynchronous publisher confirmation tracking with a CompletableFuture-based API, rate limiting, and message correlation support.

This change adds PublisherConfirmsAsync.java to demonstrate the ConfirmationChannel API. The tutorial shows how to create a ConfirmationChannel wrapper with rate limiting, publish messages asynchronously with correlation context, and wait for all confirmations using CompletableFuture.allOf().

Depends on rabbitmq/rabbitmq-java-client#1824

The new `ConfirmationChannel` API introduced in
rabbitmq/rabbitmq-java-client#1824 provides asynchronous publisher
confirmation tracking with a `CompletableFuture`-based API, rate
limiting, and message correlation support.

This change adds `PublisherConfirmsAsync.java` to demonstrate the
`ConfirmationChannel` API. The tutorial shows how to create a
`ConfirmationChannel` wrapper with rate limiting, publish messages
asynchronously with correlation context, and wait for all confirmations
using `CompletableFuture.allOf()`.

Depends on rabbitmq/rabbitmq-java-client#1824
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.

2 participants