lib/sqs/right_sqs_interface.rb
# Sends new message to queue.Returns 'message_id' or raises an exception.
#
#  sqs.send_message('http://queue.amazonaws.com/ZZ7XXXYYYBINS/my_awesome_queue', 'message_1') #=> "1234567890...0987654321"
#
Sends new message to queue.Returns 'message_id' or raises an exception.
Sends new message to queue . Returns ' message_id ' or raises an exception .
def send_message(queue_url, message)
      req_hash = generate_rest_request('PUT',
                                       :message   => message,
                                       :queue_url => "#{queue_url}/back")
      request_info(req_hash, SqsSendMessagesParser.new(:logger => @logger))
    rescue
      on_exception
    end
def send_message ( queue_url , message ) req_hash = generate_rest_request ( 'PUT' , :message => message , :queue_url => "#{queue_url}/back" ) request_info ( req_hash , SqsSendMessagesParser . new ( :logger => @logger ) ) rescue on_exception end
Sends new message to queue.Returns 'message_id' or raises an exception.
Sends new message to queue . Returns ' message_id ' or raises an exception .
queue_url
<not_specific>
message
<not_specific>