Description
When sending an empty ObjectMessage, broker doesn't
write a 'length' field to the message buffer. In delivery the broker
tries to read the length from the buffer, which cause "IndexOutOfBoundsException".
To fix it, we need to check if the buffer is empty or not, and only
read it if the buffer is not empty.
Attachments
Issue Links
- links to