public
Description: An extremely simple Message Queue application built as a learning exercise and building block for Google App Engine.
Homepage:
Clone URL: git://github.com/mbuckbee/gae-naive-queue.git
gae-naive-queue / README
100644 38 lines (20 sloc) 0.973 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
NAIVE QUEUE
 
Naive Queue is an extremely minimal HTTP based message queue application designed to run on Google Application Engine.
 
Sending a Message to the Queue
 
Messages must be HTTP POSTed to the Queue (HTTP GET won't work)
Post message to "http://YOUR_SERVER_NAME/push"
 
Request Parameters
 
1. queue_name
2. message_body
 
Response Parameter
 
1. MD5 Hash of queue_name + URL Decoded message body
 
Pulling a Message from the Queue
 
Messages must be retrieved by HTTP GET from the Queue (HTTP POST won't work)
 
Retrieving a message automatically removes it from the queue
 
Pull messages from URL "http://YOUR_SERVER_NAME/pop"
 
Request Parameter
 
1. queue_name
 
Response Parameter
 
1. message_body
 
Evaluating Naive Queue
 
Loading the application (with the GAE SDK) will let you play around the with basic functionality as the default index page is setup with a Push form and a Pop link to intereactively test the application.