Update stomp docs, fix json parse over-optimism.

This commit is contained in:
dceejay
2015-04-17 09:29:58 +01:00
parent 88ae31a6b8
commit 31318b03d7
4 changed files with 31 additions and 5 deletions

View File

@@ -16,6 +16,12 @@ Usage
Connects to a Stomp capable server to send and receive messages.
The **destination** field is optional. If set it overrides the **msg.topic** property of the message.
The **destination** field is optional. If set it overrides the **msg.topic**
property of the message.
As noted [here](https://github.com/easternbloc/node-stomp-client#queue-names),
while not a requirement of the Stomp protocol,
if talking to an **ActiveMQ** server the *destination* should begin with
**"/queue/"** or with **"/topic/"**.
This node only uses the simple security version of the stomp-client.