mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
28 lines
829 B
Markdown
28 lines
829 B
Markdown
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
|
|
-------
|
|
|
|
Run the following command in the root directory of your Node-RED install
|
|
|
|
npm install node-red-node-stomp
|
|
|
|
|
|
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.
|
|
|
|
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.
|