[rabbitmq-discuss] Synchronous Message Response
mpxr at yahoo.com.au
Tue May 10 14:12:57 BST 2011
Thanks it is a straight forward example.
I just made a silly mistake and then went down a long path in the wrong direction to try and solve the problem.
From: Simon MacMullen <simon at rabbitmq.com>
To: rabbitmq-discuss at lists.rabbitmq.com
Sent: Tuesday, 10 May 2011 9:29 PM
Subject: Re: [rabbitmq-discuss] Synchronous Message Response
On 10/05/11 02:37, mp wrote:
> I'm struggling with a simple concept of synchronous communication with
> rabbitMQ, in terms of getting a response message back to the client.
> I'm trying to work out how to send it and also what the client will need
> to do to receive the message?
Your client needs to declare a response queue, and the server needs to send a reply message to it. The RPC tutorial goes into some detail:
(Examples are in python, but should be fairly universal)
-- Simon MacMullen
Staff Engineer, RabbitMQ
SpringSource, a division of VMware
rabbitmq-discuss mailing list
rabbitmq-discuss at lists.rabbitmq.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss