]
Bela Ban commented on JGRP-2225:
--------------------------------
[~pruivo] Is it likely that you send multiple messages to the _same_ destination? ACKs?
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).