lib/sqs/right_sqs_interface.rb
# Removes all visible messages from queue. Return +true+ or an exception.
#
#  sqs.clear_queue('http://queue.amazonaws.com/ZZ7XXXYYYBINS/my_awesome_queue') #=> true
#
Removes all visible messages from queue. Return +true+ or an exception.
Removes all visible messages from queue . Return + true + or an exception .
def clear_queue(queue_url)
      while (m = pop_message(queue_url)) ; end   
      true
    rescue
      on_exception
    end
def clear_queue ( queue_url ) while ( m = pop_message ( queue_url ) ) ; end true rescue on_exception end
Removes all visible messages from queue.
Removes all visible messages from queue .
# delete all messages in queue
queue_url
<not_specific>