Quantcast
Channel: Service Bus forum
Viewing all articles
Browse latest Browse all 1916

Is it possible to have a single MessageReceiver to receive messages from multiple Subscriptions?

$
0
0

Is it possible to achieve is the same behaviour that I get when using multiple instances of BlockingCollection(T) with the BlockingCollection(T) .TakeFromAny(BlockingCollection(T)[]) static method with MessageReceiver?

What I'm trying to avoid is an excessive Thread count to get messages from multiple Subscriptions. 

I'm free to use a Single topic with multiple Subscriptions with filter or multiple Topics with a single Subscription.

My goal is to have a worker that can process messages from various tenants (dozens), but I want to control which tenants will be processed by each instance of the worker and realocate the tenant processing between various workers without losing any message.

Thanks in advance


Viewing all articles
Browse latest Browse all 1916

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>