mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
0d7f0cb16d
* Bugfix: show connected state after reconnect * Bugfix: show connected state for stomp out node after reconnect * Add support for ACK messages * Add optional subscription id * Typo fix * Subscription ID not required * Bugfix "node.ack is not a fuction" * Use shared client connection * Bugfix shared connection * Improvements & bugfixes to shared connection * Bugfix connecting state * Set connected state in connect callback * Typo fix * add server shared connection variables * Bugfix for shared state * WIP * Complete refactor based on MQTT nodes to be able to share server connection between nodes * Change address back to server for backwards compatibility * Fixes for race conditions on node closing * Add disconnect timeout of 2s to avoid "Error stopping node" * If not connected, do not try to disconnect * Fix for disconnecting log * Styling fix for ack select form row * Typo fixes * Typo fix * Bugfix: subscription before connected * Bugfix: stringify payload before sending to be able to send numbers etc * Bugfix: not saving ack field * Bugfix: ack * Bugfix: ack * Bugfix: ack & better docs regardign ack * BugFix: reconnect delay * Improvements regarding cleanup on close * Handle connect and reconnect event in the same way * Typo fix * Fix backwards compatibility |
||
---|---|---|
.. | ||
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.