Commit Graph

24 Commits

Author SHA1 Message Date
Olivier Verhaegen 878694fa1c
STOMP: Improved error stated and logging (#1021)
* Improved error states and logging

* Fix misplaced reconnect error message

* No double logging of reconnecting event
2023-08-11 15:31:00 +01:00
Olivier Verhaegen 45b43ebb21
STOMP bugfix: usage of multiple stomp in nodes (#1015)
* Bugfix: only execute node register callbacks after connection to the server has been made

* Bugfix: only execute direct callback of register node register when connected to STOMP server

* Doc: Add tip about reconnection to server
2023-07-11 19:58:51 +01:00
Olivier Verhaegen 1216ee5296
STOMP: improved logging (#1010)
* Improvements to logging

* Subscribe log clarification

* Session id on connect fix
2023-06-21 20:18:59 +01:00
Olivier Verhaegen 8743c2afa6
STOMP bugfix: msg.topic can't be used with STOMP out node and ack node (#1009)
* Bugfix: not responsive to msg.topic on input of STOMP out node

* Bugfix: not responsive to msg.topic on input of STOMP ack and out node

* Bugfix: backward compatible node.topic has prio + Docs: added info about msg.topic in ACK node docs

* Typo fix
2023-06-08 21:14:40 +01:00
Olivier Verhaegen 3fd14223ef
Bugfix: use of credentials in STOMP server (username property typo) (#1007)
* Bugfix: use of credentials in stomp server (username property typo)
2023-06-06 11:25:06 +01:00
Olivier Verhaegen 0d7f0cb16d
STOMP refactor in accordance with MQTT (shared connection using config node) + client ACK (#988)
* 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
2023-05-30 11:05:25 +01:00
Olivier Verhaegen b4d80b86e3
node-red-node-stomp | Bugfix: show connected state after reconnect for stomp out node (#987)
* Bugfix: show connected state after reconnect

* Bugfix: show connected state for stomp out node after reconnect
2023-04-11 14:35:40 +01:00
Olivier Verhaegen 471422adfe
Bugfix: show connected state after reconnect (#986) 2023-04-07 08:46:51 +01:00
Dave Conway-Jones e20cf97fce
A whole bunch of whitespace linting - no functional changes 2019-08-11 13:37:15 +01:00
Arnaud Marchand d73d5f1af3 Save point (#506) 2018-11-28 18:39:52 +00:00
Dave Conway-Jones 85ddffb98f
Ensure stomp retconnect retry default
to close #478
2018-08-15 22:17:32 +01:00
Dave Conway-Jones 316a2fd272 Re-lint a load of nodes 2017-01-29 17:45:44 +00:00
Dave Conway-Jones a7247e898a Update licenses and packages for all nodes 2016-11-06 20:26:19 +00:00
Dave Conway-Jones 5f1513bed3 update Stomp to support v1.1
Thanks @ozomer - to close #141
2015-12-17 17:15:01 +00:00
dceejay 68e639c98a Stomp - allow msg.headers to set headers on output node 2015-04-28 21:04:50 +01:00
dceejay 18c866b490 Stomp node - call close with callback correctly. 2015-04-23 10:06:09 +01:00
dceejay 97d271be2c make sure stomp client calls done on close. 2015-04-17 21:06:27 +01:00
dceejay 31318b03d7 Update stomp docs, fix json parse over-optimism. 2015-04-17 09:29:58 +01:00
Nick O'Leary 08791f1914 Update all nodes to credentials system and auth middleware 2015-02-06 21:10:14 +00:00
Dave C-J 052a7d587d Update node-red-nodes io nodes to use strict and pass jshint scan 2014-06-28 23:35:33 +01:00
Dave C-J be810be2e2 tweak node.status to be consistent with latest thinking
stomp, xmpp and suncalc.
2014-05-31 20:08:15 +01:00
Dave C-J f2dd4ae062 tidy up logging on Stomp node 2014-05-29 18:32:20 +01:00
Dave C-J ae22efb270 Updates to Stomp to enable auto reconnect, and node.status indicators 2014-05-26 10:07:20 +01:00
Dave C-J 308d6cb873 New Stomp node 2014-05-19 21:07:20 +01:00