activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiram Chirino" <>
Subject Re: On the wire size of messages
Date Wed, 26 Jul 2006 13:45:40 GMT
Hi, compression is not currently enabled by default.  You can enable it by
adding a parameter to the connection URI.  For example:


For more information see:

To get the size of the message, cast the message to a ActiveMQMessage and
use the getSize() method AFTER the message has been sent by a message
producer.  If you just want to get the size of the payload of the message
use ActiveMQMessage.getContent().getLength()


On 7/26/06, Kuppe <> wrote:
> I am interested in reducing the total size of messages on the wire. Do you
> have any suggestions as to how this can be best accomplished? Is
> enabled by default and is there any way of tuning the compression? Is
> any way that you could suggest to measure the real size of messages being
> sent over the broker?
> --
> View this message in context:
> Sent from the ActiveMQ - User forum at



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