<div dir="ltr">Hi Michael,<div><br></div><div>I'm sorry-- I'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 'A', 'B', or 'C' in the routing key, but... the consumers in 'A', 'B', and 'C' would still need to know where they are ('A', 'B', or 'C') in order to bind their queue on the right key. Binding on '*.requests' would give them all traffic.</div>
<div><br></div><div>On the other hand, if each broker federated a *different* topic exchange, then we're back in the original situation-- now binding on '*.requests' 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'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"><<a href="mailto:michael@rabbitmq.com" target="_blank">michael@rabbitmq.com</a>></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 <<a href="mailto:stuff@moesel.net">stuff@moesel.net</a>> wrote:<br>
<br>
> Imagine Broker A, Broker B, and Broker C. Each federates a direct exchange based on their name (for example, "A.requests", "B.requests", "C.requests"). Within each broker, however, I don't want consumers to need to know the broker name-- they should be able to bind their queues to (direct) exchange "Incoming.requests" and receive messages to "A.requests", "B.requests", or "C.requests" 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>