Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/igr/jrsmq
A lightweight message queue for Java that requires no dedicated queue server. Just a Redis server.
https://github.com/igr/jrsmq
fifo java message-queue queue redis rsmq
Last synced: 3 months ago
JSON representation
A lightweight message queue for Java that requires no dedicated queue server. Just a Redis server.
- Host: GitHub
- URL: https://github.com/igr/jrsmq
- Owner: igr
- Created: 2017-03-16T21:49:42.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2021-09-09T20:04:13.000Z (over 3 years ago)
- Last Synced: 2024-10-14T10:48:43.831Z (4 months ago)
- Topics: fifo, java, message-queue, queue, redis, rsmq
- Language: Java
- Size: 182 KB
- Stars: 36
- Watchers: 8
- Forks: 13
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![RSMQ: Redis Simple Message Queue for Node.js](https://img.webmart.de/rsmq_wide.png)
![](https://app.travis-ci.com/igr/jrsmq.svg?branch=master)
# Redis Simple Message Queue
A lightweight message queue for Java that requires no dedicated queue server. Just a Redis server.
Java implementation of https://github.com/smrchy/rsmq.
## Version
com.oblac:jrsmq:1.3.0
## Java implementation notes
We are trying to follow the javascript contract as much as possible, including
the method and properties naming.## Example
RedisSMQ rsmq = new RedisSMQ();
rsmq.createQueue()
.qname("myqueue")
.exec();String id = rsmq.sendMessage()
.qname("myqueue")
.message("Hello World")
.exec();QueueMessage msg = rsmq.receiveMessage()
.qname("myqueue")
.exec();rsmq.deleteQueue()
.qname("myqueue")
.exec();rsmq.quit();
Enjoy!