getCompressionAlgorithm method
Returns the compression algorithm currently configured for the message.
The returned value reflects the current compression setting, whether it was set via {@link #setCompressed(boolean)} or {@link #setCompressionAlgorithm(CompressionAlgorithm)}.
@return the configured {@link CompressionAlgorithm}
Implementation
CompressionAlgorithm getCompressionAlgorithm() {
return compressionAlgorithm;
}