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 why is compression working in the opposite direction? > > > rajdavies wrote: > > > > > > On 18 Apr 2008, at 00:23, tanshul22 wrote: > > > >> Secondly, i am using jms.useCompression=true but still my messages > >> show a > >> compression = false. > >> Does anybody know why? > > > > Do you check that property from the sender after you've sent it? > > > > cheers, > > > > Rob > > > > http://open.iona.com/ -Enterprise Open Integration > > http://rajdavies.blogspot.com/ > > > > -- > View this message in context: > http://www.nabble.com/Reducing-the-size-of-messages-tp16757781s2354p16763551.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > >