[rabbitmq-discuss] SimpleRpcServer send generated queue name to client
glenner
glenn.ergeerts at artesis.be
Wed Feb 17 14:02:21 GMT 2010
I have one server application and multiple client applications. The server
can publish different kind of events to the interested clients. Clients
express their interest in a certain event type (together with a predicate
which describes in which situation they should get an event, so they can
filter events). From that moment on the server pushes events to the
subscribed clients when they occur and match the predicates.
For implementing this i thought to have the server listening (using
SimpleRpcServer) to one central queue where the subscription requests get
send to. A new queue matching that subscription is then constructed by the
server. The server publishes messages on the correct queues when certain
events occur. The clients listen on their specific queue(s) (also using a
SimpleRpcServer). The client knows which queue to listen to based on a
convention (name of the event etc).
Now the question: i want to be able to let the server specify (generate) a
unique queue name for each client/event subscription and then send it back
to the client so the client knows which queue to subscribe to. Is something
like this possible? I could not find any support for replying inside the
SimpleRpcServer.
And, more general, is this a valid design using RabbitMQ/AMQP? I'm still new
to RabbitMQ/AMQP so maybe i overlooked a more approriate way to do this..
--
View this message in context: http://old.nabble.com/SimpleRpcServer-send-generated-queue-name-to-client-tp27624063p27624063.html
Sent from the RabbitMQ mailing list archive at Nabble.com.
More information about the rabbitmq-discuss
mailing list