Hello,

Looking for any tips to get this working.


        try {
            Queue queue = QueueFactory.getQueue("test");
            TaskOptions options = 
TaskOptions.Builder.withUrl("/test/task/worker");
            
            options = options.param(TestTask.task, params);
            options = options.header("Host", 
BackendServiceFactory.getBackendService().getBackendAddress("testtask", 1));
            
            queue.add(options);
        }
        catch(Exception exc) {
            log.log(Level.SEVERE, "queue", exc);
            return false;
        }

I have setup the backend.xml:

<backends>
  <backend name="testtask">
    <class>B2</class>
    <instances>1</instances>
    <max-concurrent-requests>1</max-concurrent-requests>
    <options>
      <public>false</public>
      <dynamic>true</dynamic>
    </options>
  </backend>
</backends>

Didn't make any other changes.

The dashboard shows that the backend is active, but the doPost method of the 
TaskServlet is never being called.

Any ideas?

-- 
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.

Reply via email to