My application works great right now as an Azure App Service. It uses a Service Bus Queue to push bits of data that are then picked up by clients, "stuff" happens, and then the clients push responses back to my app on another Service Bus Queue. So basically I have one each, inbound queue and outbound queue.
Now I'm trying to expand this application to SaaS. I'd like to maintain the same queue-out, queue-in architecture but with a potentially unlimited number (n)
of separate, untrusted client connections. I'd also prefer to avoid investing in the management and the hourly cost of maintaining 2n
Service Bus resources!
I'm afraid I don't see a way to enforce that type of secure "filtering" on a Service Bus Queue. Clients can say "give me the next five messages" but they'll be getting everyone's messages, not just their own.
Is there a way to do what I want using Service Bus Queues? Should I be implementing this architecture concept with some different kind of Azure resource? Or am I best off coding a custom API call to implement the "give me my next five messages" idea?