My scenario is that I'm planning to create a ServiceBus topic with multiple (unknown) number of subscribers. They can use topic filters, so won't process each message from the topic.
I need for a given message (Id) to wait until all handlers have done their job to continue workflow. Naturally each handler will produce a message upon completion and I can use for example Durable Function to wait for a list of events.
But the question is how can I know the list of subscriptions message has/will been sent to?
With Microsoft.Azure.ServiceBus.Management.ManagementClient.GetSubscriptionsAsync()
I can get the list of all subscriptions for my topic. But I cannot find how to evaluate whether it will take a given message or not according to filters.
If that is not possible to achieve with ServiceBus, are there any alternatives (besides reinventing the wheel with custom implementation of Pub/Sub) to implement this kind of scenario?