1. 首页
  2. 移动开发
  3. 其他
  4. 消息队列服务rmq.zip

消息队列服务rmq.zip

上传者: 2020-07-19 13:26:19上传 ZIP文件 9.7KB 热度 30次
rmq 是一个基于 Redis 的消息队列服务,体积小而且易用,客户端基于 Jedis。 示例代码: Producer p = new Producer(new Jedis("localhost"),"some cool topic"); p.publish("some cool message"); Consumer c = new Consumer(new Jedis("localhost"),"consumer identifier","some cool topic"); c.consume(new Callback() {     public void onMessage(Str
下载地址
用户评论