We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stomp
commit 0d7f0cb STOMP refactor in accordance with MQTT (shared connection using confi…
Before
node.on("input", function(msg) { node.client.publish(node.topic || msg.topic, msg.payload, msg.headers); });
After
node.on("input", function(msg, send, done) { if (node.topic && msg.payload) { try { msg.payload = JSON.stringify(msg.payload); } catch { msg.payload = `${msg.payload}`; } node.serverConnection.publish(node.topic, msg.payload, msg.headers || {}); done(); } });
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Which node are you reporting an issue on?
Stomp
What are the steps to reproduce?
What happens?
What do you expect to happen?
Please tell us about your environment:
When started
commit 0d7f0cb
STOMP refactor in accordance with MQTT (shared connection using confi…
Before
After
The text was updated successfully, but these errors were encountered: