Comments (2)
@jcelmeta14 I can't reproduce the issue.
I'm using softwaremill/elasticmq-native:1.4.7
and the following configuration:
include classpath("application.conf")
queues {
main {
defaultVisibilityTimeout = 10 seconds
delay = 2 seconds
receiveMessageWait = 0 seconds
deadLettersQueue {
name = "retry"
maxReceiveCount = 1
}
}
retry {
defaultVisibilityTimeout = 10 seconds
delay = 2 seconds
receiveMessageWait = 0 seconds
}
delayed {
fifo = true
delay = 10 seconds
defaultVisibilityTimeout = 10 seconds
deadLettersQueue {
name = "retry"
maxReceiveCount = 3
}
}
}
and this is my test code:
queue = self.sqs.get_queue_by_name(QueueName='delayed.fifo')
queue.send_message(MessageBody='some test message to be delayed', MessageGroupId='group123', MessageDeduplicationId='dedup123')
messages = queue.receive_messages()
print(messages)
time.sleep(5)
messages = queue.receive_messages()
print(messages)
time.sleep(5)
messages = queue.receive_messages()
print(messages)
and this is the output:
[]
[]
[sqs.Message(queue_url='http://localhost:9324/000000000000/delayed.fifo', receipt_handle='b5edfb66-0106-43b7-beb4-e7ab211a82f0#c732fdcd-aa1c-4d78-af5c-00a7b2878ce1')]
If you still observe the issue with the latest version, please provide an application or test reproducing it.
from elasticmq.
Thank your for your reply! I will try to create a repo in the following days, and I will post another comment here.
from elasticmq.
Related Issues (20)
- Actor System does not shut down when using `SQSRestServerBuilder#stopAndWait` - resulting in main process hanging indefinitely HOT 2
- prebuilt arm builds for softwaremill/elasticmq-native is not working HOT 1
- Stale Documentation for DeadLetterQueue creation HOT 2
- Publishing messages with delay does not work as expected HOT 1
- Could not find UI files error on 1.4.5-RC1 docker image HOT 2
- Migrate from akka to pekko? HOT 6
- Automatic creation of queue does not work (v1.4.6) HOT 1
- IllegalArgumentException: Couldn't find header X-Amz-Target HOT 6
- x-amz-json-1.0 not properly serializing error responses HOT 5
- AWS JSON Protocol - MessageAttributes key has appeared? HOT 3
- JSON protocol support HOT 1
- DeadLetterQueueSourceArn missing while receiving message from DLQ HOT 1
- Push images to ECR HOT 2
- Trigger Events Based on Messages in Queue HOT 4
- Exception when running routes spray.json.DeserializationException HOT 3
- "MD5 returned by SQS does not match the calculation on the original request" when using AWS JSON protocol and message attributes with custom data types HOT 1
- java.lang.IllegalArgumentException: Couldn't find header X-Amz-Target
- Cannot create Queue with AWS SDK. HOT 6
- 404s after updating AWS SDKs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elasticmq.