Dear Tony,<div><br></div><div>Thanks for the response! Unfortunately, i&#39;m such a RabbitMQ noob that terms like &quot;bound to a separate exchange&quot; don&#39;t mean anything to me in terms of lines of code, <b><i>yet</i></b>. That&#39;s why i was hoping for a code sample ;-).</div>
<div><br></div><div>Best wishes,</div><div><br></div><div>--greg<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Tony Garnock-Jones</b> <span dir="ltr">&lt;<a href="mailto:tonyg@lshift.net">tonyg@lshift.net</a>&gt;</span><br>
Date: Tue, Feb 23, 2010 at 7:01 PM<br>Subject: Point-to-point messaging with AMQP (was Re: rabbitmq-server failing to start?!)<br>To: Meredith Gregory &lt;<a href="mailto:lgreg.meredith@gmail.com">lgreg.meredith@gmail.com</a>&gt;<br>
Cc: <a href="mailto:legitimategrievance@rabbitmq.com">legitimategrievance@rabbitmq.com</a><br><br><br>Meredith Gregory wrote:<br>
&gt; That was the ticket. i figured it out last night after some poking<br>
&gt; around. BTW, do you have code samples for the a simple two-way<br>
&gt; conversation? I.e., setting up a channel from A -&gt; B and another from B<br>
&gt; -&gt; A? i&#39;m currently working with the Scala/Lift wrapper around what i<br>
&gt; believe to be the Java client.<br>
<br>
At its simplest, this can be<br>
<br>
�- one queue with a well-known name per party<br>
�- messages sent to exchange &quot;&quot;, routing_key = queue_name<br>
<br>
For more flexibility (and compositionality! ;-) ) choose to use queues<br>
without well-known names, that are bound to a separate exchange<br>
<br>
�- one queue with a secret name per party<br>
�- the party binds it to a direct exchange called &quot;chat&quot; or similar<br>
 � with routing_key/binding_key equal to the name it wishes to be<br>
 � known by<br>
�- messages sent to exchange &quot;chat&quot;, routing_key = public name<br>
<br>
Fancy posting these questions to rabbitmq-discuss at all? We&#39;re always<br>
looking to build up the archive for later mining for FAQs :-)<br>
<font color="#888888"><br>
Tony<br>
<br>
</font></div><br><br clear="all"><br>-- <br>L.G. Meredith<br>Managing Partner<br>Biosimilarity LLC<br>1219 NW 83rd St <br>Seattle, WA 98117<br><br>+1 206.650.3740<br><br><a href="http://biosimilarity.blogspot.com">http://biosimilarity.blogspot.com</a><br>

</div>