Comments (2)
You are creating a queue with the default settings (vt: 30, delay: 0, maxsize: 65536).
Then your are sending a message "Hello world" with delay=1
. The delay=1
means this particular message will only appear after 1 second to recipients. As you are trying to receive the message right afterwards it won't be received. Which is correct.
- Send a message without the "delay" parameter to receive it immediately.
- Try a
receiveMessage
after 1+ seconds to receive the message.
from rsmq.
If you want to create a delayed queue where all messages are delayed by n
seconds you should use the delay
parameter with the createQueue
method.
Your queue worker(s) typically poll the queue every second and will receive all messages after the delay has passed
from rsmq.
Related Issues (20)
- additional modules to list of rsmq clients
- Is quit method has argument or no?
- Is rsmq support for Redis5+ redis stream HOT 1
- Specify redis db in options HOT 1
- dotnet implementation
- Realtime implementation differ from documentation HOT 2
- Queues Disappear HOT 1
- transaction suuport?
- Not functioning properly with AWS ElastiCache HOT 1
- Redis connection with password for RSMQ Python HOT 1
- Redis vulnerability
- Add Async Python implementation
- totalrecv number not as expected HOT 1
- no message == empty queue? HOT 1
- max capacity of queue HOT 1
- ReplyError: ERR unknown command 'time'
- realtime queue stops working randomly HOT 2
- when to call quit()
- Implmentation announcment. Golang! HOT 2
- Access the first element of the queue without deleting it
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 rsmq.