<div dir="ltr">Hi Michael,<div><br></div><div>I&#39;m sorry-- I&#39;m not sure I follow. �</div><div><br></div><div>If I did use a topic exchange, and all brokers federated that same exchange, then senders could specify the &#39;A&#39;, &#39;B&#39;, or &#39;C&#39; in the routing key, but... the consumers in &#39;A&#39;, &#39;B&#39;, and &#39;C&#39; would still need to know where they are (&#39;A&#39;, &#39;B&#39;, or &#39;C&#39;) in order to bind their queue on the right key. �Binding on &#39;*.requests&#39; would give them all traffic.</div>
<div><br></div><div>On the other hand, if each broker federated a *different* topic exchange, then we&#39;re back in the original situation-- now binding on &#39;*.requests&#39; would work, but the consumers would need to know where they are to bind their queue to the right exchange.</div>
<div><br></div><div>Maybe I&#39;m misunderstanding?</div><div><br></div><div>-Chris</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Oct 7, 2013 at 11:16 PM, Michael Klishin <span dir="ltr">&lt;<a href="mailto:michael@rabbitmq.com" target="_blank">michael@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 class="im"><br>
On oct 8, 2013, at 12:53 a.m., Chris &lt;<a href="mailto:stuff@moesel.net">stuff@moesel.net</a>&gt; wrote:<br>
<br>
&gt; Imagine Broker A, Broker B, and Broker C. �Each federates a �direct exchange based on their name (for example, &quot;A.requests&quot;, &quot;B.requests&quot;, &quot;C.requests&quot;). �Within each broker, however, I don&#39;t want consumers to need to know the broker name-- they should be able to bind their queues to (direct) exchange &quot;Incoming.requests&quot; and receive messages to &quot;A.requests&quot;, &quot;B.requests&quot;, or &quot;C.requests&quot; respectively.<br>

<br>
</div>Have you considered using a topic exchange and bind as *.requests?<br>
Granted, prefix wildcards are not very efficient but if you only have a few dozens of queues<br>
bound you may even notice.<br>
<span class="HOEnZb"><font color="#888888"><br>
MK<br>
<br>
<br>
<br>
</font></span><br>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">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>
<br></blockquote></div><br></div>