activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iqbalzaveri <>
Subject Setting compression through XML configuration
Date Sat, 16 Jun 2007 01:37:06 GMT

I am trying to set compression for messages using XML config. Here's a
snapshot of the activemq.xml 
<!-- START SNIPPET: example -->

  <!-- Allows us to use system properties as variables in this configuration
file -->
  <connectionFactory useCompression="true" />
  <broker brokerName="localhost" useJmx="true"

        factory = new ActiveMQConnectionFactory(url);
        boolean isUseCompression =

This still returns 'false'. Am I missing something??
Expicitly setting useCompression in the code works fine. 

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message