easternbloc / node-stomp-client

A STOMP client for Node.js
Other
93 stars 47 forks source link

What about sending TextMessages? #28

Closed reids closed 9 years ago

reids commented 9 years ago

ActiveMQ uses the content-length header to decide whether to create a textmessage or bytesmessage for the message consumer in Java.

If content-length is missing then a TextMessage is created, any thoughts on passing a null content-length when publishing the message being interpreted as meaning no content-length should be passed, meaning a java client will get a TextMessage-

reids commented 9 years ago

Closing this, just saw a pull request dealing with this.