Determining how many messages are on the Azure Service Bus Queue for a specific SessionId

Viewed 313

I have a servicebus queue that contains messages with different session ids. Is there a way to get the message count for a specific session id?

1 Answers

You can retrieve the count of messages held in queues and subscriptions by using Azure Resource Manager and the Service Bus NamespaceManager APIs in the .NET Framework SDK as described here. You can also refer the suggestions provided by the community members here. See if this helps you.

Related