Skip to content

Support Lightweight Publisher Confirms [AMQP-806] #2357

Closed
@spring-operator

Description

@spring-operator

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions