I am working on a system that should automatically scale the workflows that retrieve messages from the service bus section for processing.
To do this, I need to know the number of unprocessed messages for this subscription. How to do it?
I looked at the SubscriptionClient Class, but there seems to be no way to find the number of messages waiting to be processed.

source
share