minMessageToCompress

Sets the minimum outbound message size (in bytes) that will be compressed.

Set this to 0 to enable compression for all outbound messages. Set to Long.MAX_VALUE to disable compression.

This is 0 by default.