On Mon, Jan 17, 2011 at 12:44:31PM +0100, Gonzalo Suárez wrote: > > first caller execution: > > --8-- > /home/devel/tweaked-ruote-kit/ruote-kit/ruote/lib/ruote/svc/participant_list.rb:228:in > `new' > /home/devel/tweaked-ruote-kit/ruote-kit/ruote/lib/ruote/svc/participant_list.rb:228:in > `instantiate' > /home/devel/tweaked-ruote-kit/ruote-kit/ruote/lib/ruote/exp/fe_participant.rb:245:in > `schedule_timeout' > /home/devel/tweaked-ruote-kit/ruote-kit/ruote/lib/ruote/exp/fe_participant.rb:154:in > `apply' > /home/devel/tweaked-ruote-kit/ruote-kit/ruote/lib/ruote/exp/fe_ref.rb:117:in > `apply' > /home/devel/tweaked-ruote-kit/ruote-kit/ruote/lib/ruote/exp/flowexpression.rb:224:in > --8-- > > second caller execution: > > --8-- > /home/devel/tweaked-ruote-kit/ruote-kit/ruote/lib/ruote/svc/participant_list.rb:228:in > `new' > /home/devel/tweaked-ruote-kit/ruote-kit/ruote/lib/ruote/svc/participant_list.rb:228:in > `instantiate' > /home/devel/tweaked-ruote-kit/ruote-kit/ruote/lib/ruote/svc/participant_list.rb:170:in > `lookup' > /home/devel/tweaked-ruote-kit/ruote-kit/ruote/lib/ruote/svc/dispatch_pool.rb:76:in > `dispatch' > /home/devel/tweaked-ruote-kit/ruote-kit/ruote/lib/ruote/svc/dispatch_pool.rb:46:in > --8-- > > It seems that caller output is different between the two calls.... > It's very weird.
Hello Gonzalo, may I have a look at your participant implementation and how you register it ? The first call is ruote inquiring if the participant responds to the #timeout method. It seems that your participant class has #timeout in its instance methods. So ruote is instantiating it and calling #timeout... https://github.com/jmettraux/ruote/blob/1137fcd848aa7bee8234246518f2a396aaf9818a/lib/ruote/exp/fe_participant.rb#L234-254 The second call is the regular dispatch call. Best regards, -- 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
