Adam Gent
Adam Gent

Reputation: 49085

Using existing JMS libraries with a AMQP broker (RabbitMQ)

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?

Upvotes: 5

Views: 2275

Answers (2)

Pidster
Pidster

Reputation: 618

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.

Upvotes: 2

nos
nos

Reputation: 229108

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

Upvotes: 3

Related Questions