Hi all ActiveMQ experts!
I had a look via WireShark what's happening under the hood when ActiveMQ "/examples" producer sends messages and it revealed that every TextMessage shorter than 1000 bytes is padded with spaces (' ' or HEX 20) until it fills exactly 1000 bytes. (using the ActiveMQ's "native" transport - TCP "OpenWire")
Wonder what is doing that? (I presume the ActivemQ JMS Client implementation) but WHY??
And most importantly, is there a way to optimize it so that sending short messages does not incur almost 1K overhead of unnecessary spaces?
Thank you!
cheers, O.K.