getQueueRuntimeProperties
See original GitHub issueWhen using GetQueueRuntimeProperties
on a Microsoft.Azure.ServiceBus.Management.ManagementClient
, I receive a runtimeInfo
object with the following properties:
I expect the MessageCount property to equal the sum of the counts in MessageCountDetails.
The query is performed on a Premium Service Bus resource. “Microsoft.Azure.ServiceBus” Version=“5.1.3” The messages are created 2021-01-26
Service Bus Explorer shows the same discrepancy:
On another entity, it is correct:
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: c44bf4d1-ff3c-ce52-7079-7af4284276a9
- Version Independent ID: 3fb992f8-25a9-699b-79a4-a01dc850f810
- Content: QueueRuntimeInfo Class (Microsoft.Azure.ServiceBus.Management) - Azure for .NET Developers
- Content Source: xml/Microsoft.Azure.ServiceBus.Management/QueueRuntimeInfo.xml
- Service: service-bus-messaging
- GitHub Login: @rloutlaw
- Microsoft Alias: routlaw
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (1 by maintainers)
Top Results From Across the Web
ServiceBusAdministrationClient class
getQueueRuntimeProperties (string, OperationOptions). Returns an object representing the Queue runtime info like message count details. TypeScript. Copy.
Read more >Azure Service Bus client library for JavaScript
getQueueRuntimeProperties ( queueName ); console.log("Number of messages in the queue = ", queueRuntimeProperties.
Read more >ServiceBusAdministrationClient | @azure/service-bus
Returns an object representing the Queue and its properties. If you want to get the Queue runtime info like message count details, use...
Read more >QueueRuntimeProperties (Azure SDK for Java Reference ...
Runtime properties about the queue. See Also: ServiceBusAdministrationAsyncClient.getQueueRuntimeProperties(String) , ServiceBusAdministrationClient.
Read more >admin
GetQueueRuntimeProperties gets runtime properties of a queue, like the SizeInBytes, or ActiveMessageCount. If the entity does not exist this ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hello @23min Thanks for the detailed information on this.
We are now routing this to the right team for further action!!!
@SatishBoddu-MSFT
All entities are set up identically with default properties.