[rabbitmq-discuss] rpc Tutorials why the server queue no need to binding
wmywipured at gmail.com
Fri Jan 4 01:36:32 GMT 2013
在 2013年1月3日星期四UTC+8下午7时11分20秒，Alvaro Videla写道：
> 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.
>> 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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss