stompgem / stomp

A ruby gem for sending and receiving messages from a Stomp protocol compliant message queue. Includes: failover logic, ssl support.
http://stomp.github.com
Apache License 2.0
152 stars 80 forks source link

working with TextMessages #108

Closed ghost closed 9 years ago

ghost commented 9 years ago

According to http://activemq.apache.org/stomp.html section 'Working with JMS Text/Bytes Messages and Stomp' content-length header determs what message actually is BytesMessage or TextMessage. And if in case TextMessage there is no content-length and as a result message.body=0

gmallard commented 9 years ago

@lowerzero

What are you suggesting? This is ..... working as designed. The gem supports the published STOMP protocols. Not necessarily AMQ or any other particular server.

However, if you have a concrete example and a proposed change ....... by all means, please publish them.

gmallard commented 9 years ago

I am going to close this. Please see:

http://activemq.apache.org/stomp.html

the section titled:

Working with JMS Text/Bytes Messages and Stomp