Updated with a mode for deleting messages from the queue on consumption