lib/sqs/right_sqs_gen2_interface.rb
# Sends a new message to a queue.  Message size is limited to 8 KB.
# If successful, this call returns a hash containing key/value pairs for
# "MessageId" and "MD5OfMessageBody":
#
#  sqs.send_message('https://queue.amazonaws.com/ZZ7XXXYYYBINS/my_awesome_queue', 'message_1') #=> 
#    {"MessageId"=>"MEs4M0JKNlRCRTBBSENaMjROTk58QVFRNzNEREhDVFlFOVJDQ1JKNjF8UTdBRllCUlJUMjhKMUI1WDJSWDE=",
#     "MD5OfMessageBody"=>"16af2171b5b83cfa35ce254966ba81e3"}
#
# On failure, send_message raises an exception.
#
#
Sends a new message to a queue.  Message size is limited to 8 KB.
If successful, this call returns a hash containing key/value pairs for
"MessageId" and "MD5OfMessageBody".



On failure, send_message raises an exception.
Sends a new message to a queue . Message size is limited to 8 KB . If successful this call returns a hash containing key / value pairs for " MessageId " and " MD5OfMessageBody " . On failure send_message raises an exception .
def send_message(queue_url, message)
      req_hash = generate_post_request('SendMessage', :message  => message, :queue_url => queue_url)
      request_info(req_hash, SqsSendMessagesParser.new(:logger => @logger))
    rescue
      on_exception
    end
def send_message ( queue_url , message ) req_hash = generate_post_request ( 'SendMessage' , :message => message , :queue_url => queue_url ) request_info ( req_hash , SqsSendMessagesParser . new ( :logger => @logger ) ) rescue on_exception end
Sends a new message to a queue.
Sends a new message to a queue .
queue_url
<not_specific>
message
<not_specific>