LibraryToggle FramesPrintFeedback

Name

GTask — supports asynchronous message processing on GAE by using the task queueing service as message queue

Overview

GTask endpoints support asynchronous message processing on GAE by using the task queueing service as message queue. For adding messages to a queue it uses the task queue API. For receiving messages from a queue, it installs an HTTP callback handler. The handler is called by an HTTP POST callback (a web hook) initiated by the task queueing service. Whenever a new task is added to a queue a callback will be sent. The GTask component abstracts from these details and supports endpoint URIs that make message queueing on GAE as easy as message queueing with JMS or SEDA.

Message headers

On the consumer-side all headers of the Servlet component component are supported.

In addition the following GTaskBinding headers are used by on the consumer-side.

NameTypeDescription
GTASK_QUEUE_NAME String Name of the task queue.
GTASK_TASK_NAME String Name of the task.
GTASK_RETRY_COUNT int Number of callback retries.
Comments powered by Disqus