Reputation: 505
I'm working on an application, and I'm just wondering is it possible for RabbitMQ to allow all clients to push messages to a specific queue and only authenticated users to consume messages from that queue? I can't seem to find anything about this :/
Basicly my model is like this: Clients all connect to same queue and push their messages on it. Also each client should register it's own queue where he recieves messages (each client has unique queue).
So basicly clients would send messages to one queue, and ONLY my server application should be able to read from it, process data and send reply to the specific user queue (which should be read ONLY by that user and ONLY server shoud publish on it).
I guess this is possible right? Can someone steer me in the right direction where to find more info on those things/examples/tutorials
Upvotes: 0
Views: 2589
Reputation: 151
So, it is not possible AFAIK out of box, but you have 2 options:
[1]: http://www.rabbitmq.com/federation.html - it's manual about federation plugin, that contains ready-to-go examples.
Upvotes: 1