[rabbitmq-discuss] Binding key and routing key
Steve Powell
spowell at gopivotal.com
Wed Sep 25 23:33:27 BST 2013
Actually, if you type "binding key" into the search field on the RabbitMQ site,
you discover that the term is used (in the sense Nikita espouses) in two tutorials,
in the Exchange to Exchange bindings blog entry, and in the discussion on Alternate
Exchanges.
The STOMP adapter page refers to a binding 'pattern', but I didn't find any other
references.
There are phrases like "the binding's routing key" in the rabbitmqctl manual page,
and (interestingly) the Introduction to the AMQP 1.0 Draft (presentation pdf) uses
the term unconsciously on a Topic Exchange diagram.
I think that the term binding key, used consistently, would improve the description
and understanding of bindings no end. This point seems to have been embraced by
the tutorials quite successfully.
Steve Powell [Cell: +44-7815-838-558] [RabbitMQ, Pivotal]
“L’enfer, c’est les autres.” Sartre
On 25 Sep 2013, at 12:29, Michael Klishin <michael at rabbitmq.com> wrote:
>
> On sep 25, 2013, at 3:18 p.m., Nikita Trophimov <nikita.trophimov at gmail.com> wrote:
>
>> Until this moment, i thought that binding key is the mask that connets several RabbitMQ objects like queues and exchanges while routing key is the one of the message headers. Am i right?
>
> the term "binding key" is not used widely (I don't think 0-9-1 spec uses it, or any popular
> clients do).
>
> Your understanding of the two is correct but both are called routing key. A more appropriate term
> for queue.bind and exchange.bind would probably be "routing pattern" but it would
> not be very precise for e.g. fanout exchanges.
>
> MK
>
>
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
More information about the rabbitmq-discuss
mailing list