Hi John, I'm sorry. I've just been doing some tweaks. I've re-checked the code and the behaviour of the listener it's fine. No bugs at all.
I forgot the :once => "false" on the 'listen' method. Now the listener never dies, and everytime the engine is restarted it's still there and correctly listens to participants. Nothing to worry about. Sorry about that! Best regards. Gonzalo. On Nov 30, 1:21 pm, John Mettraux <[email protected]> wrote: > On Mon, Nov 30, 2009 at 9:17 PM, Gonzalo <[email protected]> wrote: > > > I got the following process: > > > class Navigation < OpenWFE::ProcessDefinition > > listen :to => "^.*", :once => "true", :upon => "apply" do > > participant :ref => 'navigation' > > end > > end > > > It's meant as a daemon to listen to every participant and whenever the > > event "apply" happens, participant 'navigation' is fired up. When I > > shut down and restart the engine, this process is still there but it > > seems not be listening anymore. I have to terminate it and launch it > > again. Is this the regular behaviour? Am I doing something wrong? > > Hello Gonzalo, > > it sounds like a bug. Do you have more information ? > > -- > 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
