Setting Message Compression

Message compression is specified for individual messages. That is, message compression, if desired, is set at the message level. TIBCO Enterprise Message Service does not define a way to set message compression at the per-topic or per-queue level.

To set message compression, the application that sends or publishes the message must access the message properties and set the boolean property JMS_TIBCO_COMPRESS to true before sending or publishing the message.

Compressed messages are handled transparently. The client code only sets the JMS_TIBCO_COMPRESS property. The client does not need to take any other action. The client automatically decompresses any compressed messages it receives.