0
votes

I need to create a worker role to process messages from multiple queues. I realized that there's a cloud project Worker Role with Service Bus Queue. Can I create multiple Queue Clients using this one or should I separate in N Worker Roles?

1

1 Answers

3
votes

There is no restriction on how many Queues you can process from a single Worker role, you can create several QueueClients and then kick off Receive calls in parallel or register with OnMessage.

From an application perspective you need to think about isolation and scaling in that if you have queues with different types of workloads or different priorities then having different processing backends can provide more flexibility.