diff --git a/io/stomp/18-stomp.js b/io/stomp/18-stomp.js index 388a84c3..4db8fef8 100644 --- a/io/stomp/18-stomp.js +++ b/io/stomp/18-stomp.js @@ -221,7 +221,7 @@ module.exports = function(RED) { }); node.on("input", function(msg) { - node.ack(msg.messageId, msg.subsriptionId, msg.transaction); + node.client.ack(msg.messageId, msg.subsriptionId, msg.transaction); }); node.on("close", function(done) {