Howard. Hopefully this helps. Yes, we _extend_ the receiver.
https://gist.github.com/1171232 Mind you we're not using RuoteAMQP, but a port to Stomp that works that same way. Kit -- Kit Plummer :: MaestroDev :: 520.360.4729 On Thursday, August 25, 2011 at 10:24 AM, hading2 wrote: > Hi Kit, > > Yes, this is with Ruote 2.2.0 and RuoteAMQP 2.2.0. > > So then is there a modification to the receive method of > RuoteAMQP::Receiver? I wasn't sure if RuoteAMQP had a standard way of > dealing with this (even after digging through the code). > > Would it be possible to trouble you for a small example? > > Thanks, > Howard > > On Aug 25, 12:19 pm, Kit Plummer <[email protected] > (http://maestrodev.com)> wrote: > > 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] > (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
