Skip to content

Instantly share code, notes, and snippets.

@stevenjack
Created June 12, 2014 16:21
Show Gist options
  • Save stevenjack/99edd99df4433a8e478e to your computer and use it in GitHub Desktop.
Save stevenjack/99edd99df4433a8e478e to your computer and use it in GitHub Desktop.
sqs = AWS::SQS.new
queue = sqs.queues.create('test-queue')
#The name of the queue above should be the same name as dfined in the app.json
message = '{"some" : "key"}'
msg = queue.send_message(message)
#We're happy everything has completed, then we can delete the message
msg.delete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment