Bryan Liles
2006-Dec-27 22:58 UTC
[Backgroundrb-devel] calling a MiddleMan from inside a MiddleMan
Is it possible to call a worker from inside a worker? Right now, if I try, I get a recycled object error.
Michael D''Auria
2006-Dec-28 05:53 UTC
[Backgroundrb-devel] calling a MiddleMan from inside a MiddleMan
Can you explain what you would want to do this for? Maybe we can come up with a different way to solve your original problem. .: Michael :. On 12/27/06, Bryan Liles <bryan at osesm.com> wrote:> > Is it possible to call a worker from inside a worker? Right now, if > I try, I get a recycled object error. > > _______________________________________________ > Backgroundrb-devel mailing list > Backgroundrb-devel at rubyforge.org > http://rubyforge.org/mailman/listinfo/backgroundrb-devel >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20061228/6888687c/attachment.html
Bryan Liles
2006-Dec-28 12:45 UTC
[Backgroundrb-devel] calling a MiddleMan from inside a MiddleMan
On Dec 28, 2006, at 12:53 AM, Michael D''Auria wrote:> Can you explain what you would want to do this for? Maybe we can > come up with a different way to solve your original problem. > > .: Michael :. > > On 12/27/06, Bryan Liles <bryan at osesm.com> wrote: > Is it possible to call a worker from inside a worker? Right now, if > I try, I get a recycled object error. >I was trying to implement a Queueing system. I''ve given up on making this work in backgroundrb for right now. I''m going to use ActiveMQ and stomp instead. I had a worker called RequestWorker, and it was determining what needed to be run and then calling ScheduleWorker. I guess I was trying to implement a poor mans queue. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20061228/eb7a7797/attachment.html