Unable to “Peek” messages from an Azure Service Bus Queue using AMQP and Node [duplicate]
问题 This question already has an answer here : Getting “amqp:internal-error” when peeking messages from Azure Service Bus Queue using AMQP, rhea and Node (1 answer) Closed 2 years ago . I'm trying to "Peek" messages from an Azure Service Bus queue using nodeamqp10 library but unfortunately I am not able to do so. Here's the code I am using: const AMQPClient = require('amqp10/lib').Client, Policy = require('amqp10/lib').Policy; const protocol = 'amqps'; const keyName = 'MyPolicy'; const sasKey =