Skip to content

AMQP: Multiple Sends within an OB Channel Adapter #3170

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 5 commits into from
Feb 6, 2020

Conversation

garyrussell
Copy link
Contributor

In preparation for: spring-attic/spring-cloud-stream-binder-rabbit#209

When multiSend is true and multiple messages are sent as the payload
of a message, each message is sent within the invoke() method of the
RabbitTemplate.

In preparation for: spring-attic/spring-cloud-stream-binder-rabbit#209

When `multiSend` is true and multiple messages are sent as the payload
of a message, each message is sent within the `invoke()` method of the
`RabbitTemplate`.
*/
public class AmqpOutboundChannelAdapterSpec extends AmqpOutboundEndpointSpec<AmqpOutboundChannelAdapterSpec> {

AmqpOutboundChannelAdapterSpec(AmqpTemplate amqpTemplate) {
Copy link
Member

Choose a reason for hiding this comment

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

Gary, can you make all the ctors and final props in these AMQP specs as protected for possible extension?
So, I won't include them into my extensions PR #3167 to avoid conflicts between our two fixes.

Thanks

* @return the spec.
* @since 5.3
*/
public S confirmTimeout(long timeout) {
Copy link
Member

Choose a reason for hiding this comment

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

Right, this is one of those I'd like to cover with DSL extensions and all those protected ctors 😄

@artembilan artembilan merged commit fa97ce0 into spring-projects:master Feb 6, 2020
@garyrussell garyrussell deleted the multiSend branch February 6, 2020 20:37
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