Dear Tony,<div><br></div><div>Thanks for the response! Unfortunately, i'm such a RabbitMQ noob that terms like "bound to a separate exchange" don't mean anything to me in terms of lines of code, <b><i>yet</i></b>. That'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"><<a href="mailto:tonyg@lshift.net">tonyg@lshift.net</a>></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 <<a href="mailto:lgreg.meredith@gmail.com">lgreg.meredith@gmail.com</a>><br>
Cc: <a href="mailto:legitimategrievance@rabbitmq.com">legitimategrievance@rabbitmq.com</a><br><br><br>Meredith Gregory wrote:<br>
> That was the ticket. i figured it out last night after some poking<br>
> around. BTW, do you have code samples for the a simple two-way<br>
> conversation? I.e., setting up a channel from A -> B and another from B<br>
> -> A? i'm currently working with the Scala/Lift wrapper around what i<br>
> 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 "", 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 "chat" or similar<br>
with routing_key/binding_key equal to the name it wishes to be<br>
known by<br>
- messages sent to exchange "chat", routing_key = public name<br>
<br>
Fancy posting these questions to rabbitmq-discuss at all? We'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>