So far so good! This works perfectly when you use the default queue. If you want to use a non-default queue, however, there's a catch. The documentation prescribes that you just point your LocalTaskQueueTestConfig to the queue.xml file, and that's it. That is indeed all there is to it, but only if you have the XmlParser on your classpath (org.mortbay.xml.XmlParser). If it is not there, add this dependency to your POM:
<dependency>
<groupid>com.google.appengine</groupid>
<artifactid>appengine-tools-sdk</artifactid>
<version>${appengine.target.version}</version>
</dependency>
This provides the XmlParser you need!
This article is really helpfull, keep it sharing.
ReplyDeleteWe are the Award Winning, Custom App Development Division of AppInstitute, creating apps for customers across the UK; including Wakefield!
custom business software wakefield