将现有 JMS 库与 AMQP 代理 (RabbitMQ) 结合使用
我们使用 RabbitMQ 和 Spring-AMQP 作为我们的消息系统。
然而,有许多使用 JMS 的 Java 库,我不想将它们重写为 AMQP。
我未能通过 Google 搜索将使用 AMQP 的 JMS 客户端。
我应该重写库以直接使用 AMQP 吗?
We use RabbitMQ and Spring-AMQP for our messaging system.
However there are many Java libraries that use JMS that I would rather not rewrite to AMQP.
I failed to Google a JMS client that will use AMQP.
Should I just rewrite the library to use AMQP directly?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
qpid 也使用 amqp ,有一个 JMS 客户端库。也许这也适用于rabbitmq。
有一些(旧的)指示 "http://www.openamq.org" rel="nofollow">OpenAMQ 库可与rabbitmq配合使用
qpid , which also speaks amqp , has a JMS client library. Perhaps that also works with rabbitmq.
There's some (old) indications the OpenAMQ library works works with rabbitmq
根据您实际构建的内容,您可能会发现 Spring Integration 很有用:
http://www .springsource.org/spring-integration
它抽象了端点的概念,使得它们是可插拔的,并且有对 JMS 和 JMS 的内置支持。 AMQP。
构建一个简单的 AMQP <-> 相当简单。 JMS 适配器。
Depending on what you're actually building, you'll probably find that Spring Integration is useful:
http://www.springsource.org/spring-integration
It abstracts the concepts of end points, such that they are pluggable and there is built-in support for JMS & AMQP.
It's fairly trivial to build a simple AMQP <-> JMS adapter.