Github user cshannon commented on the issue: https://github.com/apache/activemq-artemis/pull/1853 @clebertsuconic - hmm so I'm starting to like you original idea of just using getEncodeSize() more as the the message might be non-durable and in that case the encode size is still used but it isn't on disk so that would be a little misleading. However there is still the issue of what to do aboutt large messages? Maybe we need a name like fullEncodeSize() or something so that it is implies it is the full message including the body?
---