Re: Reducing the size of messages

2008-04-18 Thread Jim Gomes
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: >

Re: Reducing the size of messages

2008-04-18 Thread tanshul22
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

Re: Reducing the size of messages

2008-04-17 Thread Rob Davies
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: Reducing the size of messages

2008-04-17 Thread ttmdev
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