Thanks, Jan. <br><br><div class="gmail_quote">On Thu, Sep 13, 2012 at 12:10 PM, Jan Urbański <span dir="ltr">&lt;<a href="mailto:wulczer@wulczer.org" target="_blank">wulczer@wulczer.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div>On 13/09/12 21:04, David Serafini wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
How did you implement this?  Did you use txamqp as a model or develop your<br>
own approach?<br>
</blockquote>
<br></div>
No, I took pika (that already implements AMQP), wrote code to make it usable from a Twisted reactor and then added a Deferred layer on top of that.<br>
<br>
Pika already works with Tornado, so it was more or less prepared for being integrated in an event loop, such as the Twisted reactor.<br>
<br>
Here&#39;s an example of how to use it:<br>
<br>
<a href="https://github.com/pika/pika/blob/master/examples/demo_twisted.py" target="_blank">https://github.com/pika/pika/<u></u>blob/master/examples/demo_<u></u>twisted.py</a><br>
<br>
Best,<br>
Jan<br><br></blockquote></div>