[jboss-jira] [JBoss JIRA] (JGRP-2225) Allow for sending of message batches in JChannel and protocols

Bela Ban (Jira) issues at jboss.org
Mon Nov 25 11:55:01 EST 2019


    [ https://issues.jboss.org/browse/JGRP-2225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13817470#comment-13817470 ] 

Bela Ban commented on JGRP-2225:
--------------------------------

The equivalent to this in 5.0 is {{CompositeMessage}}. It achieves the same thing without the downsides of implementing down(MessageBatch).

> Allow for sending of message batches in JChannel and protocols
> --------------------------------------------------------------
>
>                 Key: JGRP-2225
>                 URL: https://issues.jboss.org/browse/JGRP-2225
>             Project: JGroups
>          Issue Type: Feature Request
>            Reporter: Bela Ban
>            Assignee: Bela Ban
>            Priority: Major
>             Fix For: 5.0
>
>
> Currently, we receive messages and message batches, but we're not able to _send_ message batches. Investigate adding a {{JChannel.send(MessageBatch)}} and {{Protocol.down(MessageBatch)}}.
> The use case is that if we want to send 10 messages to the same destination, we currently send 10 messages. Because they're on the same thread, they;re _not_ likely to end up in the same batch.
> Sending a message batch down the stack ensures that all messages end up in the same message batch (unless the max bundle size is exceeded).



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list