[rabbitmq-discuss] what are message attributes used by broker in RABBITMQ

Alvaro Videla videlalvaro at gmail.com
Fri Apr 20 14:11:00 BST 2012


A direct exchange takes into account the routing key before delivering it to a queue. Actually it retrieves a list of queues bound to the exchange based on the routing key used to publish the message.

A fanout exchange ignores routing keys. It just retrieves the list of queues bound to the exchange.

A topic exchange takes into account the routing key. Same as with the direct exchange but in this case routing key matches are more complex than with the direct matching. See here: http://www.rabbitmq.com/blog/2010/09/14/very-fast-and-scalable-topic-routing-part-1/

Take a look at the descriptions here: http://www.rabbitmq.com/tutorials/amqp-concepts.html

RabbitMQ uses this version of the protocol: http://www.rabbitmq.com/amqp-0-9-1-quickref.html

Routing logic starts here: http://hg.rabbitmq.com/rabbitmq-server/file/a668b91616ba/src/rabbit_channel.erl#l617

I think this material is more than enough to start your research and continue from there.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120420/c96031d7/attachment.htm>

More information about the rabbitmq-discuss mailing list