ElasticMQ 介绍
ElasticMQ 是一个使用 Scala 编写的简单消息队列系统。当前使用嵌入式数据库 H2 来存储消息。ElasticMQ 实现了 SQS REST
接口的子集,提供一个 SQS 的可选方案。
示例代码:
// First we need to create a Node val node = NodeBuilder.createNode // Then we can expose the native client using the SQS REST interface val server = SQSRestServerFactory.start(node.nativeClient, 8888, "http://localhost:8888") // ... use ... // Finally we need to stop the server and the node server.stop() node.shutdown()
ElasticMQ 官网
https://github.com/adamw/elasticmq
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。