App Engine not loading queue.xml

379 Views Asked by At

I have a multi-module style Google App Engine App. It has a main Java Enterprise Project (eap), which references 3 Dynamic Web Projects. All works great.

Except task queues.. I am trying to create my own custom taskqueue. I created a WEB-INF folder in my EAP project, next to the META-INF folder.. And I created a queue.xml file there (pasted below) .

When I go to the Administrator area of cloud.google.com and click Task Queues, I only see the 'default' queue, my push queue is not there..

Upon deployment, I see no errors, just:

INFO: Successfully processed C:/!zebrastues/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/zebrasear/zebras-feeder.war\WEB-INF/queue.xml

My queue.xml (in a WEB-INF folder in my EAP, also added into the WEB-INF folder of my dynamic web projects, but it is ignored there).

<?xml version="1.0" encoding="UTF-8"?>
<queue-entries>
  <queue>
    <name>feedq</name>
    <rate>1/s</rate>  
  </queue>
</queue-entries>
1

There are 1 best solutions below

0
On BEST ANSWER

According to app engine modules documentation, optional configuration files like queue.xml and datastore-indexes.xml apply to all modules and should be placed in the WEB-INF directory that contains the default module.