Question

I am working in the cool but very constrained environment of Tropo (cloud telephony) Ruby scripting. The entire app is a single JRuby file. No gems, no requires.

I need to send simple messages to a single SQS queue. I don't need to do any other SQS operations. Before I start pulling code out of existing gems to do this, I wanted to see if anyone has standalone code for sending SQS messages or code that does the HTTP request signing that SQS requires.

Was it helpful?

Solution

We ended up going with the following super-simple code to post a message to an SQS queue that already exists. No gems required.

super_simple_sqs.rb

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top