[rabbitmq-discuss] Question About Bindings

Alvaro Videla videlalvaro at gmail.com
Fri Apr 23 05:52:18 BST 2010


Hi,

I have a question regarding how bindings work. 

I have a brand new build of RabbitMQ, started with make run

I noticed that after I do the usual calls (pseudocode):

access_request("/")
queue_declare("queue_name")
exchange_declare("exchange_name")
queue_bind("queue_name", "exchange_name")
basic_consume("consumer_tag")

and then in Erlang I do the following:

> Bindings = rpc:call('rabbit at localhost', rabbit_exchange, list_bindings, [<<"/">>]).

I get this list:

[{{resource,<<"/">>,exchange,<<>>}, {resource,<<"/">>,queue,<<"bounce_mail">>}, <<"bounce_mail">>,[]},
 {{resource,<<"/">>,exchange,<<"bounce_mail_router">>},  {resource,<<"/">>,queue,<<"bounce_mail">>},  <<>>,[]}]

What are those anonymous exchanges?, like the one from the list head?

Regards,

Alvaro





More information about the rabbitmq-discuss mailing list