mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
2d28a2304f
Update the package.json for each node to point to the directory within the repo that hosts the code for the package in question. as per https://docs.npmjs.com/cli/v7/configuring-npm/package-json#repository |
||
---|---|---|
.. | ||
18-stomp.html | ||
18-stomp.js | ||
LICENSE | ||
package.json | ||
README.md |
node-red-node-stomp
A Node-RED node to publish and subscribe to and from a Stomp server.
Install
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.
The destination field is optional. If set it overrides the msg.topic
property of the message.
As noted here, 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.