开发者

Using existing JMS libraries with a AMQP broker (RabbitMQ)

开发者 https://www.devze.com 2023-02-06 09:09 出处:网络
We use RabbitMQ and Spring-AMQP for our messaging system. However t开发者_如何学JAVAhere are many Java libraries that use JMS that I would rather not rewrite to AMQP.

We use RabbitMQ and Spring-AMQP for our messaging system.

However t开发者_如何学JAVAhere 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?


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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号