On Jan 27, 2008 3:06 AM, Don Stewart <[EMAIL PROTECTED]> wrote: > berlin.brown: > > > 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 > > Thanks! > > Would you like this packaged up for hackage.haskell.org, so others can > find and improve it? (or maybe move the repo to code.haskell.org?) >
Let me work on it a little more; probably will be more useful if it does basic queueing operations. -- Berlin Brown http://botspiritcompany.com/botlist/spring/help/about.html _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe