Re: [Haskell-cafe] Enterprise Haskell AMQP library initial start and would like to pass it off to someone.
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
Re: [Haskell-cafe] Enterprise Haskell AMQP library initial start and would like to pass it off to someone.
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?) ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Enterprise Haskell AMQP library initial start and would like to pass it off to someone.
Berlin Brown wrote: I started a AMQP library; there really isn't a lot there but at least I was able to connect to the server. Arrgh: I was hoping I would be the first to announce this. I've been working on one (on and off) for a few months now. I've got most of the translation from XML protocol definition to Haskell, but it sounds like you are way ahead of me. I'll take a look at what you have done and see if my code can be of any use. Paul. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Enterprise Haskell AMQP library initial start and would like to pass it off to someone.
Don Stewart 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. 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? As I said in an earlier message to Haskell Cafe, I've been working on AMQP as well. Berlin's approach seems to have been to hand-code a minimum client and then expand from there, whereas I have been working on an automatic translation from the XML protocol spec to the framing layer of AMQP. The two efforts ought to be merged, although I haven't got the content message type implemented yet. I believe I have a Haskell.org account, although I'm not sure how to use darcs with it. Perhaps Don could advise me on the steps I would need to take to get my code into a repository on the server. Paul. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Enterprise Haskell AMQP library initial start and would like to pass it off to someone.
paul: Don Stewart 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. 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? As I said in an earlier message to Haskell Cafe, I've been working on AMQP as well. Berlin's approach seems to have been to hand-code a minimum client and then expand from there, whereas I have been working on an automatic translation from the XML protocol spec to the framing layer of AMQP. The two efforts ought to be merged, although I haven't got the content message type implemented yet. I believe I have a Haskell.org account, although I'm not sure how to use darcs with it. Perhaps Don could advise me on the steps I would need to take to get my code into a repository on the server. So you visit: community.haskell.org And submit your ssh public key, to allow you to log into code.haskell.org At the same time you can ask for a project account, which will give you space for a repository on the machine. You can see other projects here: code.haskell.org -- Don ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
[Haskell-cafe] Enterprise Haskell AMQP library initial start and would like to pass it off to someone.
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 ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe