DEQUEUE message FROM queue_table LIMIT 1;
This can be done in (perhaps) the MySQL Proxy, where it is translated into a SELECT/DELETE combination or it can be added to the server, and should not cause much parser complications.
Then any storage engine may be used for a queue, purely dependent upon the user's requirements as some people will be satisfied with a non-persistent
MEMORY
based queue, MYISAM
queues will be adequate for many and for a few who need transactions, there is INNODB
and FALCON
.