0

Is it possible to implement text message compression on publishing to a queue/topic(with out modifying the server or consumer)? I want to know if the existing Java STOMP client or CPP STOMP Client (ActiveMQ-CPP) supports the message compression?

Thank you.

M99
  • 1,859
  • 10
  • 28
  • 50

1 Answers1

4

The current Stomp spec doesn't define any standardized form of compression for message body data. This means that there's no way to create reliable and inter-operable Stomp client's that compress the data. You can of course compress the data yourself and set a header that tells your various client's what the content type is much like the HTTP spec outlines.

Tim Bish
  • 17,475
  • 4
  • 32
  • 42