Hey Howard. We pack a workitem['fields']['__error__'] that gets received on the reply queue, and then insert those errors with the @context.error_handler.action_handle().
Are you using RuoteAMQP? Kit -- Kit Plummer :: MaestroDev :: 520.360.4729 On Thursday, August 25, 2011 at 10:08 AM, hading2 wrote: > Hi, > > Please forgive me if this is a FAQ, but I've searched around the > documentation and this group and haven't been able to come up with an > answer. > > I'm working on using Ruote in conjunction with AMQP participants. > Normal operation works fine. However, I can't seem to figure out how a > participant is supposed to report back to the engine when an error > condition arises so that the Ruote error handling mechanisms will come > into play. > > More concretely, since the only way it has to communicate with the > engine at all is to push something back on to the reply queue I assume > that where I would normal push back the JSON-serialized workitem I > instead need to push something else constructible from the workitem > and the error, but I can't seem to find anywhere what that might be. > > Thanks for any pointers, > Howard > > -- > you received this message because you are subscribed to the "ruote users" > group. > to post : send email to [email protected] > (mailto:[email protected]) > to unsubscribe : send email to [email protected] > (mailto:[email protected]) > more options : http://groups.google.com/group/openwferu-users?hl=en -- 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
