[rabbitmq-discuss] rpc Tutorials why the server queue no need to binding
Alvaro Videla
videlalvaro at gmail.com
Thu Jan 3 11:11:20 GMT 2013
Hi,
Queues are always bound by default to the "unnamed" exchange and the
routing key is the queue name. That's why you can publish messages to the
exchange named "", using "rpc_queue" as routing key.
Regards,
Alvaro
On Thu, Jan 3, 2013 at 7:57 AM, kevin <wmywipured at gmail.com> wrote:
> Hi,
> I am a newer for rabbitMQ,when i read the
> *Tutorials* <http://www.rabbitmq.com/getstarted.html> 6 rpc, i notice
> that client publish a message :channel.basicPublish("", "rpc_queue", props
> , message.getBytes());
> 1. i check in the sdk,the second parameter is routing key,but
> explaination show:
> "The request is sent to an rpc_queue queue" ,it is correct? i think it
> will be sent to any queue?
>
> 2. when the server receive this message ,why no need to binding?because
> it use default exchange?
>
> anyone know the answer please kindly reply me as soon,thanks.
>
>
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130103/05f6e835/attachment.htm>
More information about the rabbitmq-discuss
mailing list