I would like to see the messages (and their content) that are currently sitting in a queue waiting to be delivered. Does such a tool exist? Or should I write my own solution for this?
Create Azure Service Bus Queue using Azure Portal. Create HTTP trigger Azure Function to send the message into Queue. Create a Service Bus Queue trigger Azure function to read a message from Queue.
Peek a message With the peek functionality, you can use the Service Bus Explorer to view the top 100 messages in a queue, subscription or dead-letter queue. To peek messages, select Peek Mode in the Service Bus Explorer dropdown.
In order to connect to Azure Service Bus go to Azure portal, open the Service Bus namespace you want, then go to: Settings -> Shared access policies -> RootManageSharedAccessKey -> Primary connection string.
The new version of Service Bus Explorer supports browsing messages in a Queue without dequeueing them.
It makes use of the new Peek feature in Service Bus SDK 2.0
QueueClient queueClient = QueueClient.Create("myQ"); BrokeredMessage message = queueClient.Peek();
We currently don't have a "browse" feature implemented for our queues that would allow you to do that. It's on the list of things to come.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With