@incdevco/framework
Version:
node.js lambda framework
11 lines (7 loc) • 423 B
Markdown
# Queue Consumer
Polls the queue for messages and passes to processMessage function in exchange for a promise.
Will attempt to poll multiple times.
## Processing Messages
When processing a message you must delete the message from the queue, if you do not want to process it again. The message object will be the exact one return by the AWS sdk.
## Triggering The Lambda
Should be triggered by CloudWatch Scheduled Rule.