From zduniak at gmail.com Mon Jul 21 04:46:05 2008 From: zduniak at gmail.com (Marcin Zduniak) Date: Mon, 21 Jul 2008 10:46:05 +0200 Subject: [ap4r-user] Example, getting started Message-ID: <5f5d62210807210146h4511f710l8878cae8474f4a09@mail.gmail.com> Hi All, We are looking for more detailed description on how to start working with AP4R than is provided here: http://ap4r.rubyforge.org/wiki/wiki.pl?GettingStarted Could anybody point me to the right direction ? Especially we are interested in "development" part -- I mean how to write my own job and how exactly to enqueue it. Thank you for your help. Best regards, Marcin From shino.shun at gmail.com Mon Jul 21 05:23:48 2008 From: shino.shun at gmail.com (shunichi shino) Date: Mon, 21 Jul 2008 18:23:48 +0900 Subject: [ap4r-user] Example, getting started In-Reply-To: <5f5d62210807210146h4511f710l8878cae8474f4a09@mail.gmail.com> References: <5f5d62210807210146h4511f710l8878cae8474f4a09@mail.gmail.com> Message-ID: <6af2b9b80807210223u39a4e833p574c3c8c4495ef66@mail.gmail.com> Hi Marcin, Thank you for your interests for AP4R. On Mon, Jul 21, 2008 at 5:46 PM, Marcin Zduniak wrote: > Hi All, > > We are looking for more detailed description on how to start working > with AP4R than is provided here: > http://ap4r.rubyforge.org/wiki/wiki.pl?GettingStarted Could anybody > point me to the right direction ? Especially we are interested in > "development" part -- I mean how to write my own job and how exactly > to enqueue it. I'm sorry for poorness of the documentation :-< I don't know what kind of appplication you build, there may be some hints in sample application, the Hello World aoo. of AP4R. Asynchronous part (called by dequeued messages) is: http://ap4r.rubyforge.org/svn/trunk/samples/HelloWorld/app/controllers/async_world_controller.rb Synchronous part (enqueueint) is: http://ap4r.rubyforge.org/svn/trunk/samples/HelloWorld/app/controllers/sync_hello_controller.rb These are most simple example, I may suggest some more things if you specify requirements of your application, such as - by what protocol asynchronous work is call? - how reliably messages are treated (at-lease-once or best effort). The presentation at RubyConf2007 may help you: http://www.slideshare.net/kiwamu/ap4r-on-rubyconf2007/ Thanks, shino