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?
-
3Does the Service Bus Explorer (http://code.msdn.microsoft.com/Service-Bus-Explorer-f2abca5a) allow you to view Service Bus queue messages? If not, the source code might provide a good base for adding queue message viewing. – Jonathan McIntire Apr 07 '12 at 02:56
-
1Currently the Service Bus Queue only displays the count of the messages present and the total Size of the Queue. You cannot view the content of the message (browse the queue) since the only way to do that is to dequeue the message. One approach could be to peeklock a message, see its content and then Abandon the message (or let the lock expire) but during the locked period other readers cannot see that message. – Abhishek Lal Apr 09 '12 at 23:35
-
1@jmac the Service Bus Explorer doesn't seem to be able to have a look at the messages, but the source code might indeed be a good starting place for something custom – svb Apr 10 '12 at 07:30
6 Answers
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();

- 4,733
- 3
- 32
- 29
-
-
Jonathan [link](https://code.msdn.microsoft.com/Service-Bus-Explorer-f2abca5a) (one of the comment of the original question) seems better : download C# ; unzip it; then got to "bin/debug" directory – boly38 Oct 14 '15 at 11:16
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.

- 2,666
- 16
- 28
-
19After reviewing both azure's queue and amazon sqs I'd say it would be nice if azure had the ability to view all messages (without impacting visibility) or a view that would allow deleting.. Nice for testing purposes. – lucuma Jun 27 '12 at 20:37
-
26
-
1
-
3
-
@EdS. This can be done with the Service Bus Explorer https://chocolatey.org/packages/ServiceBusExplorer/ – mababin Jan 14 '19 at 19:05
-
5@mababin: yeah, I eventually found that, but it's frustrating how useless the azure portal is. All sorts of fancy UI in comparison to e.g. AWS, but not even close when it comes to functionality. – Ed S. Jan 15 '19 at 17:24
-
The chocolatey thing is windows only, all other solutions cost money. Great work microsoft. – SSH This Jul 17 '19 at 16:58
-
Azure Management Studio from Cerebrata also allows you to browse a service bus queue. Note that this is not free. The website is here:

- 10,987
- 13
- 77
- 93
Service bus explorer peek option allows you to view messages in the queue.
Messages->Peek->MessageText

- 1,406
- 14
- 8
As of this writing, Service Bus Explorer lets you peek or receive messages in the queue.

- 59
- 1
New service called CloudMonix from folks who created AzureWatch (and whom I'm affiliated with) can monitor contents of the "next" message in the ASB (or storage) queue and surface it for monitoring/alerting/scaling purposes

- 15,716
- 3
- 54
- 92