DEV Community


Discussion on: AWS Lambda SQS events with Serverless Framework

piczmar_0 profile image
Marcin Piczkowski Author • Edited

In receive.js you would need to use aws sqs API to fetch messages from your fifo queue. You would have to run receive.js periodically, e.g. schedule it as a cron job (see here), because it won't be triggered by new messages in the queue.