Reputation: 81
I am trying to create a chart for Count of messages in Azure Service Bus, I see there are two options
i . Count of Messages in Queue/Topic
ii. Count of Active messages in Queue/Topic
What is the difference between these two ?
Upvotes: 8
Views: 3289
Reputation: 25994
Message count - total messages in the queue with various statuses (scheduled, deferred, dead-lettered, in transfer, transfer dead-lettered). Active messages - messages available for receiving and processing.
For example, let's say there's a message that is available for processing, one message scheduled in the future (not available for receiving and processing), and one message dead-lettered. The message count will show 3. Active message count will only show 1.
Upvotes: 9