# File lib/stomp_server/queue.rb, line 111
  def dequeue(dest)
    return false unless message_for?(dest)
    msgid = @queues[dest][:frames].shift
    frame = readframe(dest,msgid)
    @queues[dest][:size] -= 1
    @queues[dest][:dequeued] += 1
    @queues[dest].delete(msgid)
    close_queue(dest)
    save_queue_state
    return frame
  end