[Haskell-cafe] Enterprise Haskell AMQP library initial start and would like to pass it off to someone.

Berlin Brown berlin.brown at gmail.com
Sun Jan 27 00:07:23 EST 2008


I started a AMQP library; there really isn't a lot there but at least
I was able to connect to the server.  Here is the code and hopefully
someone else can continue with the project.   The AMQP protocol is
moderately complex.  HTTP is simple and stuff like RMI, JMS, Database
Protocols are really complicated.  AMQP seems to be in the middle.
There is a lot of documentation and at least two good implementations.
 The included java implementation and I used the python implementation
as a guide.

http://www.iona.com/opensource/amqp/
http://barryp.org/software/py-amqplib/

Here is my source (in subversion):
http://openbotlist.googlecode.com/svn/trunk/botlistprojects/botspider/spider/lib/haskell/src/Data/AMQP/QueueClient.hs

If were to make a suggestion; Barry's python code is really easy to
follow.  I would suggest using that as a guide. and if you are brave,
you can really analyze the protocol and just go off the docs.  Either
way.

My code got as far as connecting to the server, sending the protocol
out and getting back an initial response.  I didnt build a queue
message (frame) or much else.
-- 
Berlin Brown
http://botspiritcompany.com/botlist/spring/help/about.html


More information about the Haskell-Cafe mailing list