in reply to Re: How to enqueue again from the job in POE::Component::JobQueue?
in thread How to enqueue again from the job in POE::Component::JobQueue?

> First, you could return a "busy, try again" sort of response in this case.
> The requesting session would then need to repost the request itself.

Ok, this is the option.

I am new to POE. Could you be more specific? How and where should I get this reply?

  • Comment on Re^2: How to enqueue again from the job in POE::Component::JobQueue?

Replies are listed 'Best First'.
Re^3: How to enqueue again from the job in POE::Component::JobQueue?
by rcaputo (Chaplain) on Mar 06, 2009 at 15:02 UTC

    The reply should be sent back to the session that post()'ed the request. The reply will be returned via a "postback" event, which the worker will "post back" to you. The purpose of the third parameter in the request post() is to tell POE::Component::JobQueue which of the requesting session's handlers will accept the response.