When I do the following:
- Have a cluster of 2 nodes.
- Create a BatchMessage on node 1.
- Do not set orig_src
- Send it to all members (destination null)
Then:
- Node 1 (sender) receives it ok
- Node 2 (other) does not receive it
- I believe it is BatchMessage.size() that explodes with an NPE, but there is no log on any level on node 1 or 2 indicating something has gone wrong.
My first expectation was that orig_src is optional and does not need to be set, or that it's populated automatically (like sender in BaseMessage).
If it needs to be explicitly set then at least I would have expected a log somewhere indicating that the message could not be sent.
Tested with 5.3.5