activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Shannon <christopher.l.shan...@gmail.com>
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 http://activemq.apache.org/per-destination-policies.html and
look at the minimumMessageSize property.

On Tue, Feb 23, 2016 at 9:45 AM, kal2 <kinfo0114@gmail.com> 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:
> http://activemq.2283324.n4.nabble.com/why-MSG-size-in-activemq-is-much-larger-than-payload-tp4708070.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

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