2014-07-27 19:05:23 +02:00
node-red-node-stomp
===================
A < a href = "http://nodered.org" target = "_new" > Node-RED< / a > node to publish and subscribe to and from a < a href = "https://stomp.github.io//" target = "_new" > Stomp< / a > server.
Install
-------
2016-03-02 14:26:19 +01:00
Run the following command in your Node-RED user directory - typically `~/.node-red`
2014-07-27 19:05:23 +02:00
npm install node-red-node-stomp
Usage
-----
Connects to a Stomp capable server to send and receive messages.
2016-03-02 14:26:19 +01:00
The **destination** field is optional. If set it overrides the `msg.topic`
2015-04-17 10:29:58 +02:00
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/"**.
2014-07-27 19:05:23 +02:00
This node only uses the simple security version of the stomp-client.