Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/botto/thequeue
An abstraction of message queues
https://github.com/botto/thequeue
Last synced: about 5 hours ago
JSON representation
An abstraction of message queues
- Host: GitHub
- URL: https://github.com/botto/thequeue
- Owner: botto
- Created: 2013-05-29T08:53:30.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-06-08T09:45:21.000Z (over 11 years ago)
- Last Synced: 2024-04-15T02:59:52.658Z (7 months ago)
- Language: JavaScript
- Size: 109 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#What, another MQ lib?!
Yes, another MQ lib, currently this one uses the AWS SDK from Amazon
The AWS SDK is a great library, but it's a bit annoying.If you want to send a message you have to:
sqs.client.createQueue('bane', function(err, qd) {
sqs.client.sendMessage({QueueUrl: qd.QueueUrl, MessageBody: "Now's not the time for fear"}, function(err, rd) {
if (err) {
console.log(err);
}
});
});This is a fair amount of typing to just send a message......
Would it not be nicer to:
thequeue.sendMessage('bane', 'It does not matter what our plan is', options, function(err) {
console.log(err);
});