Skip to content

Support Lightweight Publisher Confirms [AMQP-806] #2357

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

Closed
spring-operator opened this issue Mar 28, 2018 · 0 comments
Closed

Support Lightweight Publisher Confirms [AMQP-806] #2357

spring-operator opened this issue Mar 28, 2018 · 0 comments
Assignees
Milestone

Comments

@spring-operator
Copy link
Contributor

Gary Russell opened AMQP-806 and commented

Currently, support for publisher confirms adds some complexity in that the user provides correlation data and when a confirm is received, the callback is invoked (per message) with the correlation data.

There are use cases where a much simpler algorithm can be used...

template.invoke(t -> {
     t.send many messages
     t.waitForConfirmsOrDie()
}

...in this case it is not necessary to wrap each channel in a PublisherCallbackChannelImpl or have the user provide correlation data and callbacks.


Referenced from: pull request #731

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

No branches or pull requests

2 participants