lib/sqs/right_sqs_interface.rb
# Changes message visibility timeout. Returns +true+ or an exception.
#
#  sqs.change_message_visibility('http://queue.amazonaws.com/ZZ7XXXYYYBINS/my_awesome_queue', '1234567890...0987654321', 10) #=> true
#
Changes message visibility timeout. Returns +true+ or an exception.
Changes message visibility timeout . Returns + true + or an exception .
def change_message_visibility(queue_url, message_id, visibility_timeout=0)
      req_hash = generate_request('ChangeMessageVisibility', 
                                  'MessageId'         => message_id,
                                  'VisibilityTimeout' => visibility_timeout.to_s,
                                  :queue_url          => queue_url)
      request_info(req_hash, SqsStatusParser.new(:logger => @logger))
    rescue
      on_exception
    end
def change_message_visibility ( queue_url , message_id , visibility_timeout = 0 ) req_hash = generate_request ( 'ChangeMessageVisibility' , 'MessageId' => message_id , 'VisibilityTimeout' => visibility_timeout . to_s , :queue_url => queue_url ) request_info ( req_hash , SqsStatusParser . new ( :logger => @logger ) ) rescue on_exception end
Changes message visibility timeout.
Changes message visibility timeout .
queue_url
<not_specific>
message_id
<not_specific>
visibility_timeout
<not_specific>