6 Replies Latest reply on Oct 26, 2011 3:03 PM by Peter Chandler

    ActiveMQ HTTP Transport Compression Support

    Oliver Newell Newbie

      Hello -

       

      I have an application that has been using the OpenWire TCP transport to publish TextMessages, with compression enabled - works fine.

       

      If I switch to the HTTP transport to traverse an XML Gateway (version 5.5 of ActiveMQ), the data gets through ok , but if I look at the messages on the wire they are not getting compressed (and they are not flagged as compressed when they are received by subscribers).  I didn't change any of the higher-level JMS API logic - still setting the 'useCompression' flag on the connection after I create it.

       

      So the question is - is compression actually supported by the ActiveMQ HTTP transport? If so, is there anything extra I need to do to actually enable it?

       

      Thanks,

       

      -Oliver