AMQP and Twisted

In one of my pet projects I’ve been using Twisted and txamqp. I use Twisted’s twistd to launch the service but unfortunately txamqp doesn’t come with any examples of how to use it with twistd. So I wrote a factory and protocol which makes it trivial to use txamqp with twistd. I haven’t tested it extensively but it appears to survive losing the connection to the AMQP server and reconnecting. I’m far from a Twisted expert though so please let me know if this isn’t the way it supposed to be done.

You can find the code in my Git repository.

This entry was posted in General and tagged , , , , . Bookmark the permalink.

2 Responses to AMQP and Twisted

  1. Erick Tryzelaar says:

    Hello Dan! Is there a url that I can clone with git expose? Your project page mentions that I could go to http://git.coverfire.com/txamqp-twistd.git/, but the web server is giving me a 403/Forbidden error.

  2. Dan Siemon says:

    Oops. Fixed. You can now clone with the following:

    git clone http://git.coverfire.com/txamqp-twistd.git

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>