A lightweight message queue for Java that requires no dedicated queue server. Just a Redis server.
Java implementation of https://github.com/smrchy/rsmq.
com.oblac:jrsmq:1.3.0
We are trying to follow the javascript contract as much as possible, including the method and properties naming.
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!