diff --git a/io/stomp/18-stomp.js b/io/stomp/18-stomp.js index 4080cef7..a89fe501 100644 --- a/io/stomp/18-stomp.js +++ b/io/stomp/18-stomp.js @@ -364,7 +364,7 @@ module.exports = function(RED) { if (node.topic) { node.serverConnection.register(node); - node.serverConnection.subscribe(node.topic, ack, function(msg) { + node.serverConnection.subscribe(node.topic, node.ack, function(msg) { node.send(msg); });