alpine-sqs icon indicating copy to clipboard operation
alpine-sqs copied to clipboard

Dead Letter Queue fails

Open bitbitbit opened this issue 4 years ago • 0 comments

Using config as set below:

queues {
    default {
        defaultVisibilityTimeout = 10 seconds
        delay = 5 seconds
        receiveMessageWait = 0 seconds
        deadLettersQueue {
            name = "queue1-dead-letters"
            maxReceiveCount = 3 // from 1 to 1000
        }
    }
    queue1-dead-letters { }
}

When sending a message to default , it will automatically go to queue1-dead-letters.

I am using docker image roribio16/alpine-sqs and running it locally. Sending and receiving message commands same as README.

Have also tried same config with docker image softwaremill/elasticmq and it works. Not really sure what was wrong but help will be very much appreciated :D

bitbitbit avatar Jun 11 '20 12:06 bitbitbit