lib/sqs/right_sqs_gen2_interface.rb
# Creates a new queue, returning its URI.
#
#  sqs.create_queue('my_awesome_queue') #=> 'https://queue.amazonaws.com/ZZ7XXXYYYBINS/my_awesome_queue'
#
Creates a new queue, returning its URI.
Creates a new queue returning its URI .
def create_queue(queue_name, default_visibility_timeout=nil)
      req_hash = generate_request('CreateQueue', 'QueueName' => queue_name,
                                  'DefaultVisibilityTimeout' => default_visibility_timeout || DEFAULT_VISIBILITY_TIMEOUT )
      request_info(req_hash, SqsCreateQueueParser.new(:logger => @logger))
    rescue
      on_exception
    end
def create_queue ( queue_name , default_visibility_timeout = nil ) req_hash = generate_request ( 'CreateQueue' , 'QueueName' => queue_name , 'DefaultVisibilityTimeout' => default_visibility_timeout || DEFAULT_VISIBILITY_TIMEOUT ) request_info ( req_hash , SqsCreateQueueParser . new ( :logger => @logger ) ) rescue on_exception end
Creates a new queue, returning its URI.
Creates a new queue returning its URI .
queue_name
<not_specific>
default_visibility_timeout
<not_specific>