2
votes

I have an azure service bus topic/subscription. When I query the subscription, I am informed there are 11,646 active messages.

However, the message loop (as implemented with subscription.onMessage) retrieves nothing.

If I submit a message, the count will go up by one, I receive it from the loop and when I .complete the message, the count goes down by one.

And before you jump to 'deadletter', there is nothing in the deadletter queue.

2

2 Answers

1
votes

Can you check to see the messages in the queue don't have an existing Lock on them?

0
votes

This is likely an ACL issue. We have the same issue when working with the Service Bus Explorer.