jQueue is a appengine based queue. The algorithm is very simple, as in FIFO.
The whole interface is json based, built with the easy of use in mind.
There are only 4 commands, ADD, GET, TAKE and DEL. TAKE is like GET + DEL.
Queues are created on demand, if they dont exist. The protocol come as the body= query.

jQueue provides the following REST routes:

The protocol is as follows:

GET will only get the next element in queue, yielding its key, without deleting it.
May be useful for of job scheduling, along with DEL.
If this element is not DELeted, subsequent GET calls will get it again.

	{
	    "cmd": "get",
            "queue": "main",
            "apikey":"your-api-key"
	}
	
	{
	    "queue": "main",
	    "key": "agRwb3JrchALEgpRdWV1ZU1vZGVsGAUM",
 	    "value": "abacab"
	}
	

ADD will include a new element in the queue, yielding its key.
The element will be placed in the end of the queue.

	{
	    "cmd": "add",
	    "queue": "main",
	    "value": "abacab",
            "apikey":"your-api-key"}
	
	{
	    "queue": "main",
	    "key": "agRwb3JrchALEgpRdWV1ZU1vZGVsGAsM",
	    "value": "abacab4"
	}
	

TAKE will get the next element in queue, deleting it. The key will be sent back.
This is how some of the simplest STOMP queues work, and it`s useful for fast discharging.

	{
	    "cmd": "take",
	    "queue": "main",
            "apikey":"your-api-key"}
	}
	
	{
	    "queue": "main",
	    "key": "agRwb3JrchALEgpRdWV1ZU1vZGVsGAUM",
	    "value": "abacab"
	}
	

DEL will delete a given element by the key. The key will be sent back if the operation was performed.
In association with GET, it enables a basic job scheduler. Along with the keys, it may help managing the queue content.

	{
	    "cmd": "del",
	    "queue": "main",
	    "key": "agRwb3JrchALEgpRdWV1ZU1vZGVsGAcM",
            "apikey":"your-api-key"}
	}
	
	{
	    "queue": "main",
	    "key": "agRwb3JrchALEgpRdWV1ZU1vZGVsGAcM"
	}