Last active
December 2, 2020 18:55
-
-
Save vhuerta/8bf010f131d14d681ed5d7f84472cd44 to your computer and use it in GitHub Desktop.
Manually add a message to RSMQ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| MULTI | |
| ZADD rsmq:{queueName} {epoch} {id} | |
| HSET rsmq:{queueName}:Q {id} {message} | |
| HINCRBY rsmq:{queueName}:Q totalsent 1 | |
| EXEC |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment