lib/sqs/right_sqs_gen2_interface.rb
# Change the visibility timeout of a specified message in a queue.
#
#  sqs.change_message_visibility('https://queue.amazonaws.com/ZZ7XXXYYYBINS/my_awesome_queue', 'Euvo62...kw==', 33) #=> true
#
#  see http://docs.amazonwebservices.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/index.html?Query_QueryChangeMessageVisibility.html
Change the visibility timeout of a specified message in a queue.


Change the visibility timeout of a specified message in a queue .
def change_message_visibility(queue_url, receipt_handle, visibility_timeout)
      req_hash = generate_request('ChangeMessageVisibility',
                                  'ReceiptHandle'     => receipt_handle,
                                  'VisibilityTimeout' => visibility_timeout,
                                  :queue_url          => queue_url )
      request_info(req_hash, SqsStatusParser.new(:logger => @logger))
    rescue
      on_exception
    end
def change_message_visibility ( queue_url , receipt_handle , visibility_timeout ) req_hash = generate_request ( 'ChangeMessageVisibility' , 'ReceiptHandle' => receipt_handle , 'VisibilityTimeout' => visibility_timeout , :queue_url => queue_url ) request_info ( req_hash , SqsStatusParser . new ( :logger => @logger ) ) rescue on_exception end
Change the visibility timeout of a specified message in a queue.
Change the visibility timeout of a specified message in a queue .
queue_url
<not_specific>
receipt_handle
<not_specific>
visibility_timeout
<not_specific>