activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "diego.botticelli" <diego.bottice...@gmail.com>
Subject Re: compression question: do producer _and_ consumer need to have compression enabled?
Date Fri, 28 Sep 2007 15:45:51 GMT

Hello, 

I am new activemq user and also interested with compression. Can you please
tell me how big message has to be to get compressed. Are you using gzip?
What activemq class does compression?

Thank you very much

Diego 



rajdavies wrote:
> 
> The producer does the compression - so it does need to know that the  
> useCompression flag is set
> On Sep 28, 2007, at 4:20 PM, srasul wrote:
> 
>>
>> Hi there,
>>
>> i was doing some testing with compression, and i have found that both
>> producer and consumer need to have compression enabled in the  
>> connection url
>> for compression to work. is this normal behavior?
>>
>> I did some testing by doing a network trace and found:
>> - for compression to work, i have to have jms.useCompression=true  
>> in the
>> producer and also in the consumer
>> - if i have it only in the consumer, then the message is sent  
>> uncompressed.
>>
>> thanks,
>>
>> Saqib
>> -- 
>> View this message in context: http://www.nabble.com/compression- 
>> question%3A-do-producer-_and_-consumer-need-to-have-compression- 
>> enabled--tf4535185s2354.html#a12942677
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/compression-question%3A-do-producer-_and_-consumer-need-to-have-compression-enabled--tf4535185s2354.html#a12943183
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message