When setting compression from the message producer side using the
ActiveMQConnectionFactory.setUseCompression(true) method, a call to the
ActiveMQConnectionFactory.isUseCompression() method then returns true. However, when using
Ethereal
to sniff the packets between brokers, the message bodies are not compressed - they're just plain text. This appears to be a bug.
I'll try to create a test for this.