ok, many thanks for that info.

i was thinking that the consumer would get messages compressed if he
connected with useCompression flag.


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#a12943181
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to