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.