/// <summary> /// Configures the encryption decorator to compress message bodies if their size exceeds the /// specified number of bytes. /// </summary> public EncryptionAndCompressionTransportDecorator EnableCompression(int compressionThresholdBytes) { compressionHelper = new GZipHelper(compressionThresholdBytes); return this; }