# File lib/stomp_server/queue_manager.rb, line 107
  def send_destination_backlog(dest,user)
    puts "Sending destination backlog for #{dest}" if $DEBUG
    if user.ack
      # only send one message (waiting for ack)
      frame = @qstore.dequeue(dest)
      send_to_user(frame, user) if frame
    else
      while frame = @qstore.dequeue(dest)
        send_to_user(frame, user)
      end
    end
  end