Hi Gianni,
As my app was not on production yet I was only trying in Development
mode.
After your feedback I create a test app which I deployed to Production
and indeed the settings also work for Deferred Tasks.
That's really good news because they alternative to Deferred Tasks
(creating servlets
Hi Marcel,
Yes, it should work in a production server, not on the development
server.
Are you trying this on the production environment? If so, let me know
what your app id is.
g
On Apr 27, 7:28 pm, Marcel Overdijk marceloverd...@gmail.com wrote:
Hi Gianni,
If I understand correctly I can
Can anybody confirm Deferred task should work with settings in
queue.xml?
On Apr 27, 11:28 am, Marcel Overdijk marceloverd...@gmail.com wrote:
Hi Gianni,
If I understand correctly I can use the default handler for any
deferred task and thus specifying the url is irrelevant.
How would I
Hi Gianni,
If I understand correctly I can use the default handler for any
deferred task and thus specifying the url is irrelevant.
How would I send a 'deferred' Task to a specific queue? Like this?
QueueFactory.getQueue(email-
queue).add(TaskOptions.Builder.withPayload(newEmailTask(email)));
The preconfigured URL mapping for the DeferredTaskServlet may be used
for any queue. There is no need to specify your own URL mapping that
I can see.
On Apr 22, 8:05 pm, Marcel Overdijk marceloverd...@gmail.com wrote:
I did some quick testing and I found out:
QueueFactory.getQueue(email-
But is it possible to change queue settings for Deferred task?
Like a deferred Email task I would like to throttle differently then
anotther queue (using Deferred Task(
So baically the questions are:
- With Deferred task, can you have multiple queues?
- Is it possible to change throttling
On Wed, Apr 27, 2011 at 4:19 AM, Marcel Overdijk
marceloverd...@gmail.comwrote:
But is it possible to change queue settings for Deferred task?
A DeferredTask is just like any other task. There is no restriction on
DeferredTasks with respect to queue settings or which queues you put them
in.
Maybe use additional mappings to
com.google.apphosting.utils.servlet.DeferredTaskServlet
The documentation on Deferred Tasks is a little bit sparse... Any
pointers appreciated.
Basically what I would like to do is have multiple queue defined with
different throttling settings.
And use
I did some quick testing and I found out:
QueueFactory.getQueue(email-
queue).add(TaskOptions.Builder.withPayload(new
EmailTask(email)).url(/email-queue));
that with above I can enqueue a deferred task in the another queue
(not default).
I had to to use the url(/email-queue) setting otherwise it