On Wed, May 05, 2010 at 12:45:34AM +0200, Kenneth Kalmer wrote:
> 
> The upcoming ruote-amqp-2.1.6 & daemon-kit-0.1.8rc3 are now talking to each
> other again just fine, thanks to David Austin, John & Eric for getting the
> debugging and fixing done.

Hello Kenneth,

quick note, what about ruote-amqp 2.1.10 ? Are you working with ruote 2.1.6 ?

I try to go hand in hand with ruote and all the ruote-xxx. Wdyt ?


> However, before I commit this as done I'd like to find out one thing from
> the list and John: How would I get errors from workitem processing in
> daemon-kit to be stored in the engine's list of errors ?
> 
> I took a stab at it [1] but it falls short, and digging through ruote's code
> left me a bit lost (probably just too tired). I'd love to be able to just
> replay errors and have messages dispatched to the daemons again, it is a
> feature of ruote I've never leveraged before.
> 
> [1] -
> http://github.com/kennethkalmer/daemon-kit/commit/bc3401136ad01d005f7d9edd0e2ef44d200b7259

I'd say the local part (as opposed to the remote part) of your participant 
should receive the workitem back and raise an error.

I've been trying to gather an example at :

  
http://github.com/jmettraux/ruote-beanstalk/blob/ruote2.1/lib/ruote/beanstalk/participant.rb
  
http://github.com/jmettraux/ruote-beanstalk/blob/ruote2.1/lib/ruote/beanstalk/receiver.rb

but I still have to implement/provide the #raise_error method so that such 
remote errors can be replayed (via a re-dispatch). Still some work for me in 
ruote itself.

Stay tuned,

-- 
John Mettraux - http://jmettraux.wordpress.com

-- 
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en

Reply via email to