activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Shannon <>
Subject Re: why MSG size in activemq is much larger than payload
Date Tue, 23 Feb 2016 16:26:16 GMT
There is a default minimum amount of 1024 bytes and then the rest of the
content length and properties are added to that.  I believe this is done to
account for the encoding of the protocol used and for performance reasons
so it's not all that accurate and is more of an estimation.

You can override the minimum message size setting as part of the Policy.
Take a look at and
look at the minimumMessageSize property.

On Tue, Feb 23, 2016 at 9:45 AM, kal2 <> wrote:

> I am sending 400byte msg to activemq but when I see the msg size in
> activemq
> it shows size of each msg as ~1472 byte msg.  Why is the size so much
> larger
> than the payload?  How to reduce the overhead?
> --
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message