1
0
mirror of https://github.com/node-red/node-red-nodes.git synced 2023-10-10 13:36:58 +02:00
node-red-nodes/io/stomp/README.md

28 lines
838 B
Markdown
Raw Normal View History

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`
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`
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.