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 <[email protected]> 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 > [email protected] > https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss > > -- You received this message because you are subscribed to the Google Groups "rabbitmq-discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rabbitmq-discuss?hl=en.
