lib/sqs/right_sqs_interface.rb
# Deletes queue (queue must be empty or +force_deletion+ must be set to true). Queue is identified by url. Returns +true+ or an exception.
#
#  sqs.delete_queue('http://queue.amazonaws.com/ZZ7XXXYYYBINS/my_awesome_queue_2') #=> true
#
Deletes queue (queue must be empty or +force_deletion+ must be set to true). Queue is identified by url. Returns +true+ or an exception.
Deletes queue ( queue must be empty or + force_deletion + must be set to true ) . Queue is identified by url . Returns + true + or an exception .
def delete_queue(queue_url, force_deletion = false)
      req_hash = generate_request('DeleteQueue', 
                                  'ForceDeletion' => force_deletion.to_s,
                                  :queue_url      => queue_url)
      request_info(req_hash, SqsStatusParser.new(:logger => @logger))
    rescue
      on_exception
    end
def delete_queue ( queue_url , force_deletion = false ) req_hash = generate_request ( 'DeleteQueue' , 'ForceDeletion' => force_deletion . to_s , :queue_url => queue_url ) request_info ( req_hash , SqsStatusParser . new ( :logger => @logger ) ) rescue on_exception end
Deletes queue (queue must be empty or +force_deletion+ must be set to true).
Deletes queue ( queue must be empty or + force_deletion + must be set to true ) .
queue_url
<not_specific>
force_deletion
<not_specific>