<font face="arial" size="2"><p style="margin:0;padding:0;">Hi Andy,</p>
<p style="margin:0;padding:0;"> </p>
<p style="margin:0;padding:0;">The exchange to exchange binding is IMHO the way to go. You can create "user" exchanges bound to the origin exchange(s) with the binding keys that you require and temp Qs that bind to the "user" exchanges...</p>
<p style="margin:0;padding:0;"> </p>
<p style="margin:0;padding:0;"> </p>
<p style="margin:0;padding:0;">-----Original Message-----<br />From: "Andrew Barringer" <abarringer@gmail.com><br />Sent: Tuesday, August 14, 2012 1:16am<br />To: rabbitmq-discuss@lists.rabbitmq.com<br />Subject: [rabbitmq-discuss] Application Architecture Question (topic routing + fanout broadcasting)?<br /><br /></p>
<div id="SafeStyles1344947673">
<p style="margin:0;padding:0;">All,<br /><br />I'm new to Queuing so please be patient.<br /><br />I'm trying to build an app to support the following scenario.<br /><br />We have a database with keys like<br /><br />state.zipcode.itemtype.details as new items are entered we want all subscribers to get the data. <br /><br />A person can subscribe using wildcards(# or *) in any of the positions. <br /><br />For instance given the following data entry keys<br /><br />ny.12345.vehicles.cars <br />ny.12346.boats.jetskies<br />tn.37775.vehicles.trucks<br /><br />We want many subscribers to have the ability to create a filters like ny.#.cars to get all cars in NY. Or they may want to say #.jetskies or ny.*.boats.# etc etc.. anyways end users need the ability to create complex filters.<br /><br />The hard part is with a topic exchange/queue only one subscriber is going to get an item when it hits the exchange/queue. I really need a combination of topic + fanout.<br /><br />Can I create the exchange as a topic and route it to another fanout exchange where the end user is a queue? Does the ruby amqp gem support exchange to exchange bindings?<br /><br />Did any of that even make sense? :D<br /><br />Any help would be appreciated.<br /><br />Thanks,<br />Andy<br /><br /></p>
</div></font>