Task Queue in Java

2 views
Skip to first unread message

jo

unread,
Nov 19, 2009, 4:32:11 AM11/19/09
to Google App Engine
I am a newbie in Google App Engine and am experimenting on Task Queue.

Have added the following code in my servlet:
Queue queue = QueueFactory.getDefaultQueue();
TaskOptions lUrl = TaskOptions.Builder.url("/sign");
queue.add(lUrl);

Queue.xml:
<queue-entries>
<queue>
<name>default</name>
<rate>1/s</rate>
</queue>
</queue-entries>

When i deploy the application in google app engine, it shows the queue
and says "no task defined for the queue" ?
What am i missing? what is the code that i need to add?


Reply all
Reply to author
Forward
0 new messages