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 (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 McIntireApr 7, 2012 at 2: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 LalApr 9, 2012 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– svbApr 10, 2012 at 7: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();
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.
-
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.– lucumaJun 27, 2012 at 20:37
-
26
-
1I just went looking for this feature, but can't seem to find it. Sep 12, 2018 at 19:40
-
3
-
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, 2019 at 17:24
Azure Management Studio from Cerebrata also allows you to browse a service bus queue. Note that this is not free. The website is here:
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