![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
aws-sqs-poll
Advanced tools
Polling messages from AWS SQS
Long polling helps reduce your cost of using Amazon SQS by reducing the number of empty responses (when there are no messages available to return in reply to a ReceiveMessage request sent to an Amazon SQS queue) and eliminating false empty responses (when messages are available in the queue but aren't included in the response):
See here for more information.
$ npm install --save aws-sqs-poll
const awsSqsPoll = require('aws-sqs-poll');
awsSqsPoll('QueueName')
// ["MessageId": "28f61fd2-b9ca-4cb9-879a-71ea8bce4636",
// "ReceiptHandle": "AQEB9mnsxtAZlwnDERxn3yADAP96QRe0KPbqaKXLvvchqmD4jAr",
// "MD5OfBody": "098f6bcd4621d373cade4e832627b4f6",
// "Body": "test"]
awsSqsPoll('QueueName', {AwsAccountId: '123456789012', numberOfMessages: 1, timeout: 20, json: false})
// ["MessageId": "28f61fd2-b9ca-4cb9-879a-71ea8bce4636",
// "ReceiptHandle": "AQEB9mnsxtAZlwnDERxn3yADAP96QRe0KPbqaKXLvvchqmD4jAr",
// "MD5OfBody": "098f6bcd4621d373cade4e832627b4f6",
// "Body": "test"]
Type: string
Type: object
Optional
Type: number
Number of messages to be retrieved in 1 polling action. When polling a queue with few messages (< 1000 messages), you will get less messages then the numberOfMessages parameter.
Type: number
Timeout (polling time) to listen to the queue for new messages.
Type: string
Optional
AWS account ID of the account that created the queue.
Type: boolean
Optional
Flag for converting the data back to JSON format
MIT © Simon Jang
FAQs
Polling messages from AWS SQS
The npm package aws-sqs-poll receives a total of 7 weekly downloads. As such, aws-sqs-poll popularity was classified as not popular.
We found that aws-sqs-poll demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.