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

Bela Ban (JIRA) issues at jboss.org
Tue Jul 24 05:36:00 EDT 2018


     [ https://issues.jboss.org/browse/JGRP-2225?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bela Ban closed JGRP-2225.
--------------------------
    Resolution: Won't Do


See prev comments; too error-prone... if we implement down(Message), but forget to implement down(MessageBatch), most protocols will be incorrect.

> 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
>             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.5.0#75005)


More information about the jboss-jira mailing list