Github user cshannon commented on the issue:
https://github.com/apache/activemq-artemis/pull/1853
@clebertsuconic - Fair enough, but I think I should call it
getMessageSize() instead (i already did this in a couple places) The reason
why I would use that name is because the value is slightly different than
getEncodeSize(). For the normal message case, getMessageSize() and
geEncodeSize() are equal. But for a large message getMessageSize() will be
getEncodeSize() + the body size.---
