That isn't completely unexpected. To verify, create a text file with
"hello world" and the ZIP it. The zip file will most likely be bigger
than the original uncompressed text file. Compression is a trade off
and should be carefully measured.
On 4/18/08, tanshul22 <[EMAIL PROTECTED]> wrote:
>
This is weird.
I setUseCompression on both producer and consumer side and this inflates my
message size.
When the compression is false on the producer side, my message size is
smaller, irrespective of compression being true or false on consumer.
I am sending a textMessage "Hello World".
Wonder wh
On 18 Apr 2008, at 00:23, tanshul22 wrote:
I have been trying to reduce the overhead an activemq message carries.
ActiveMQTextMessage {commandId = 0, responseRequired = false,
messageId =
null, originalDestination = null, originalTransactionId = null,
producerId =
null, destination = null
Re compression; if your producer has not set useCompression to true, then the
'compressed' message property will be set to false when viewed by your
consumer. If I'm not mistaken, the default compression algorithm used is
the default “DEFLATE” (gzip) algorithm. More on this algorithm can be found