Re: [appengine-java] Will user service be available for DeferredTask?
No, deferred tasks run in a task queue. You will probably want to persist the user in the datastore and pass the userId as a parameter to the deferred task to be fetched. -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Fri, Sep 23, 2011 at 11:38 PM, -sowdri- sow...@gmail.com wrote: Hi, In case, the deferred task need to identify the user who ran the task, will the state of userservice be available for the task being executed? thanks, -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/-cAeWEhnW9gJ. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Will user service be available for DeferredTask?
Thanks, Regarding local-unit testing of Appengine deferred task, I don't find a way to use any other queue but the default queue. http://code.google.com/appengine/docs/java/tools/localunittesting.html Is there a way to specify the name of the queue to use in local-unit testing. In spite of the fact that the ability to select queues will not make any difference from the testing perspective, that will certainly help to test deferred task that's part of the production code, without modifying it for testing purpose. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/CrG1F8-gTH4J. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Will user service be available for DeferredTask?
Hi, In case, the deferred task need to identify the user who ran the task, will the state of userservice be available for the task being executed? thanks, -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/-cAeWEhnW9gJ. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.