<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div><div>David,</div><div><br></div><div>Yes, the term binding-key is used in the tutorials, though this is not the term</div><div>used by the AMQP specification. Both on the bind Method, and the publish Method</div><div>the term used is routing-key. This is unfortunate, but, in general, it is</div><div>entirely correct.</div><div><br></div><div>The semantics of these keys is entirely up to the exchange. It happens to be the</div><div>case that topic exchanges use the bind routing-key as a 'pattern' to match</div><div>against the explicit routing-keys that publishers put on their messages.</div><div><br></div><div>However, there is no reason why one couldn't implement an exchange type</div><div>('cipot'?) where the bindings used explicit keys and the publisher published</div><div>with a pattern key. In general, the key on the publication and the keys on the</div><div>bindings are used collectively by the exchange to determine where to route the</div><div>message. They are both types of 'key' used to route the message.</div><div><br></div><div>On the other hand, I agree wholeheartedly that the bind verb ought to have</div><div>called it a binding key.</div></div></div><div><br></div><div><div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="font-weight: normal; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div style="font-style: normal; "><div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px; ">Steve Powell &nbsp;</span><span class="Apple-style-span" style="font-size: 11px; ">(<i>a lippy bunny</i>)</span></font></div></div><div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 11px; "><div style="font-style: normal; font-family: Helvetica; font-size: 12px; "><i><font class="Apple-style-span" face="Georgia" size="2"><span class="Apple-style-span" style="font-size: 10px; ">----------some more definitions from the SPD----------</span></font></i></div><div style="font-family: Helvetica; font-size: 12px; "><font class="Apple-style-span" face="Georgia" size="2"><span class="Apple-style-span" style="font-style: normal; font-size: 10px; "><b>vermin</b>&nbsp;(</span><font class="Apple-style-span" size="2"><span class="Apple-style-span" style="font-size: 10px; "><i>v.</i>)</span></font><span class="Apple-style-span" style="font-style: normal; font-size: 10px; ">&nbsp;Treating the dachshund for roundworm.</span></font></div></span></font></div></div></div><span class="Apple-style-span" style="font-weight: normal; font-family: Helvetica; font-size: 12px; "><font class="Apple-style-span" face="Georgia" size="2" style="font-style: normal; "><span class="Apple-style-span" style="font-size: 10px; "><b>chinchilla</b>&nbsp;(</span></font><font class="Apple-style-span" face="Georgia" size="2"><span class="Apple-style-span" style="font-size: 10px; "><i>n.</i>) Cooling device for the lower jaw.</span></font></span><div><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Georgia; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "></span><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="font-family: Georgia; font-weight: normal; font-style: normal; font-size: 10px; "><b>socialcast</b></span><span class="Apple-style-span" style="font-family: Georgia; font-weight: normal; font-style: normal; font-size: 10px; ">&nbsp;(</span><span class="Apple-style-span" style="font-family: Georgia; font-weight: normal; font-size: 10px; "><i>n.</i>)</span><span class="Apple-style-span" style="font-family: Georgia; font-weight: normal; font-style: normal; font-size: 10px; ">&nbsp;Someone to whom everyone is speaking but nobody likes.</span></span></div></div>
</div>
<br><div><div>On 25 Jan 2012, at 16:54, David Stuebe wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><br></div><div>Hi Steve</div><div><br></div><div>That does make sense. And the content of each line is exactly what I would expect. Now that I understand the labels it is fine, but I am still troubled by the idea that the binding contains a routing key. For me, in a topic exchange, the routing key in the message header is a separate and distinct concept from the attribute of the binding that expresses the routing rule. To me it is analogous to an XML doc and an xpath query - two different things.</div>
<div><br></div><div>Sorry if I have made a mountain out of a mole hill - but the dev team on my project have had a tough time with the semantics of rabbitMQ/AMQP and the overloaded terms that we use in the pubsub model of our application. Calling both of those things 'routing key' was making the distinction more difficult.</div>
<div><br></div><div>David</div><br><br><div class="gmail_quote">On Wed, Jan 25, 2012 at 10:11 AM, Steve Powell <span dir="ltr">&lt;<a href="mailto:steve@rabbitmq.com">steve@rabbitmq.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word"><div>David,</div><div><br></div><div>It may not be obvious, but what's happening here is that the bindings section</div><div>lists the bindings, ONE PER LINE.</div><div><br></div><div>
Each binding is shown as the queue it binds, the routing key, and the arguments.</div><div>The columns are correctly labelled.</div><div><br></div><div>Does that help?</div><div><span class="HOEnZb"><font color="#888888"><br>
<div>
<div style="word-wrap:break-word"><div style="font-weight:normal;word-wrap:break-word"><div><div style="font-style:normal"><div><font size="3"><span style="font-size:12px">Steve Powell &nbsp;</span><span style="font-size:11px">(<i>a happy bunny</i>)</span></font></div>
</div><div><font size="3"><span style="font-size:11px"><div style="font-style:normal;font-family:Helvetica;font-size:12px"><i><font face="Georgia"><span style="font-size:10px">----------some more definitions from the SPD----------</span></font></i></div>
<div style="font-family:Helvetica;font-size:12px"><font face="Georgia"><span style="font-style:normal;font-size:10px"><b>vermin</b>&nbsp;(</span><font><span style="font-size:10px"><i>v.</i>)</span></font><span style="font-style:normal;font-size:10px">&nbsp;Treating the dachshund for roundworm.</span></font></div>
</span></font></div></div></div><span style="font-weight:normal;font-family:Helvetica;font-size:12px"><font face="Georgia" size="2" style="font-style:normal"><span style="font-size:10px"><b>chinchilla</b>&nbsp;(</span></font><font face="Georgia"><span style="font-size:10px"><i>n.</i>) Cooling device for the lower jaw.</span></font></span><div>
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Georgia;word-spacing:0px"></span><span style="line-height:normal;text-indent:0px;border-collapse:separate;letter-spacing:normal;text-align:-webkit-auto;font-variant:normal;text-transform:none;white-space:normal;word-spacing:0px"><span style="font-family:Georgia;font-weight:normal;font-style:normal;font-size:10px"><b>socialcast</b></span><span style="font-family:Georgia;font-weight:normal;font-style:normal;font-size:10px">&nbsp;(</span><span style="font-family:Georgia;font-weight:normal;font-size:10px"><i>n.</i>)</span><span style="font-family:Georgia;font-weight:normal;font-style:normal;font-size:10px">&nbsp;Someone to whom everyone is speaking but nobody likes.</span></span></div>
</div>
</div></font></span><div class="im">
<br><div><div>On 24 Jan 2012, at 11:41, Simon MacMullen wrote:</div><br><blockquote type="cite"><div>On 23/01/12 20:37, David Stuebe wrote:<br><blockquote type="cite">The web admin plugin is fantastic for development debugging, but some of<br>
</blockquote><blockquote type="cite">the dev team I work with are having a hard time because it seems like<br></blockquote><blockquote type="cite">the web UI is using the wrong name for bindings - it is calling them<br></blockquote>
<blockquote type="cite">routing keys.<br></blockquote><br>Hi David.<br><br>Bindings have routing keys, but they also have arguments. In many cases the routing key is used and the arguments aren't - but not all, for example headers exchanges.<br>
<br>Does this make it clearer?<br><br>Cheers, Simon<br><br>-- <br>Simon MacMullen<br>RabbitMQ, VMware<br>_______________________________________________<br>rabbitmq-discuss mailing list<br><a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br></div></blockquote></div><br></div></div></div></blockquote>
</div><br>
</blockquote></div><br></div></body></html>