yamspog
yamspog

Reputation: 18343

why does azure service bus subscription report active messages but onmessage retrieves nothing

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.

Upvotes: 2

Views: 753

Answers (2)

klemon
klemon

Reputation: 1

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

Upvotes: 0

Lukie
Lukie

Reputation: 905

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

Upvotes: 1

Related Questions