Hi all,�<div><br></div><div>I&#39;m setting up a rabbitmq server that will act as an IPC backchannel between several nodes. Nodes can come and go, their number can vary, names aren&#39;t consistent, etc. Ideally, the scenario I&#39;d like to see work (sans any assumed exchange types or binding semantics) is this:�</div>

<div><br></div><div>1. �NodeA, NodeB, and NodeC connect. All of them will be both publishers and consumers</div><div>2. Any node publishes a message</div><div>3. The other two nodes *each* receive the message</div><div>4. The publishing node *does not* receive the message.�</div>

<div><br></div><div>In addition, I have another use case that seems... elusive:�</div><div><br></div><div>1. NodeA, NodeB, and NodeC connect. All of them will be both publishers and consumers</div><div>2. Any of the nodes publishes a message</div>

<div>3. Exactly one of the other nodes receives the message -- first one wins.�</div><div>4. The publishing node *does not* receive the message.�</div><div><br></div><div>The first scenario can be seen as a &quot;node synchronization&quot; problem: for everything that happens on NodeB, a message must be sent to all other nodes to bring them in sync.�</div>

<div><br></div><div>The second scenario is more of a &quot;Task delegation&quot; problem: For everything that happens on NodeC, a message is sent and the task is consumed/performed by whichever node happens to receive it first.�</div>

<div><br></div><div>Given that the numbers/names of the nodes aren&#39;t necessarily consistent (nodes can be added/removed as scaling needs require), and I don&#39;t want the publishing node to receive copies of messages they&#39;ve published, what is a reasonable way to go about addressing each of these scenarios using existing AMQP capabilities in RabbitMQ (note I don&#39;t want to use exchange-to-exchange bindings or other Rabbit-specific utilities)?</div>

<div><br></div><div>Thanks.�</div><div>brian</div><div>�</div><div><br></div><div><br></div><div><br></div><div><br>-- <br>Brian K. Jones<br>My Blog� � � � � <a href="http://www.protocolostomy.com">http://www.protocolostomy.com</a><br>

Follow me� � � <a href="http://twitter.com/bkjones">http://twitter.com/bkjones</a><br>
</div>