1.0.0 • Published 8 years ago

sqs-mv v1.0.0

Weekly downloads
11
License
MIT
Repository
github
Last release
8 years ago

sqs-mv

move SQS messages

Install

npm i sqs-mv

Use

const config = {
  arn: '',
  access: '',
  secret: ''
}

const opts = {
  config: config,
  workers: 10
}

const sqsMv = require('.')

sqsMv('some-queue', 'some-other-queue', opts)

This is useful for moving from one queue to another.

:warning: This will constantly pull and move message until you quit the process. It also does not preserve the messages in the original queue, so :bee: careful of that too.

I use this for moving things from a dead letter queue back to the original once I have examined the messages.