[rabbitmq-discuss] RabbitMQ STOMP Adapter - How to get the RPC reply messages?
Emile Joubert
emile at rabbitmq.com
Wed Sep 26 11:08:46 BST 2012
Hi,
On 24/09/12 15:14, Tiago Alves wrote:
> (example: replyTo: '/reply-queue/amq.gen-w2jykNGp4DNDBADm3C4Cdx'). Still
That not a recognised header instead of "replyTo" it should be "reply-to".
> in my server-side client, I can reply to the message just by publishing
> a message to "/reply-queue/amq.gen-w2jykNGp4DNDBADm3C4Cdx".
Correct, assuming your server-side uses STOMP.
> So, how do I subscribe to the reply-to queue? How can I get the results
> of RPC calls?
You don't have to - the subscription is made for you automatically when
you use the "reply-to" header.
I would suggest that you verify this by hand first and only then move on
to confirming that it also works with your websockets library.
-Emile
More information about the rabbitmq-discuss
mailing list