简单消息队列系统 ElasticMQ -电脑资料

电脑资料 时间:2019-01-01 我要投稿
【www.unjs.com - 电脑资料】

    ElasticMQ 是一个使用 Scala 编写的简单消息队列系统,

简单消息队列系统 ElasticMQ

。当前使用嵌入式数据库 H2 来存储消息。ElasticMQ 实现了 SQS REST 接口的子集,提供一个 SQS 的可选方案。

    ElasticMQ 使用 Squeryl 来访问数据库。

    示例代码:

// First we need to create a Nodeval node = NodeBuilder.createNode// Then we can expose the native client using the SQS REST interfaceval server = SQSRestServerFactory.start(node.nativeClient, 8888, "http://localhost:8888")// ... use ...// Finally we need to stop the server and the nodeserver.stop()node.shutdown()

    项目主页:http://www.open-open.com/lib/view/home/1336719212687

最新文章