Hi everyone First off, my apologies for posting to both the ruote and daemon-kit lists, but this is news for both groups
John and myself had a great chat in #ruote a couple of hours ago on how to extend daemon-kit to abstract away the complexities of writing the remote ends of the AMQP/XMPP participants. I've completed a proof of concept implementation of the remote end of an AMQPParticipant. The results are a new branch and a simple quickstart to show how the functionality works. To get going, following these steps: $ git clone git://github.com/kennethkalmer/daemon-kit.git $ git checkout ruote $ rake gem $ gem install pkd/daemon-kit-0.1.7.10.gem --no-ri --no-rdoc $ mkdir dk-ruote $ daemon-kit pd -i ruote $ cd pd $ ./bin/pd In another terminal $ cd dk-ruote $ gem install ruote --no-ri --no-rdoc <- Get the dependencies $ git clone git://github.com/jmettraux/ruote.git <- But we'll use edge $ wget http://gist.github.com/raw/144861/49be37e0456bf0fe5018d45516ce03f44a569e0d/daemon-kit-engine.rb $ ruby daemon-kit-engine.rb If all goes well, you should have a random quote appear on the console. Files to note in the daemon: * libexec/pd-daemon.rb * lib/pd.rb * lib/sample.rb * config/ruote.yml * config/amqp.yml And daemon-kit-engine.rb from the gist You need a running rabbitmq server, the samples all use guest:guest on the / virtualhost to communicate. You also need the amqp & json gems installed. The whole aim of this branch is to stabalize over the weekend and release a 0.1.7.10 release. I already maintain remote participants written with daemon-kit, so extracting the common code and cleaning it up a bit wasn't a big undertaking. The stable branch should give any ruote & daemon-kit user the ability to get going with remote ruote participants quite easily and not interfere with the way they setup their business processes. With changes scheduled for ruote 2.0 we'll be able to have a less verbose process definition, specifying things like queue names during participant registration. My initial brainstorm with John revolved around this gist: http://gist.github.com/144471. I'll expand this to the XMPP side in a later release. Hope this helps learning ruote more fun and helps power plenty of autonomous processes ! Thanks -- Kenneth Kalmer kenneth.kal...@gmail.com http://opensourcery.co.za @kennethkalmer --~--~---------~--~----~------------~-------~--~----~ you received this message because you are subscribed to the "ruote users" group. to post : send email to openwferu-users@googlegroups.com to unsubscribe : send email to openwferu-users+unsubscr...@googlegroups.com more options : http://groups.google.com/group/openwferu-users?hl=en -~----------~----~----~----~------~----~------~--~---