Getting started with RabbitMQ

RabbitMQ is an open source AMQP broker. Advanced Message Queuing Protocol (AMQP) is an open protocol that includes the format of messages sent over the wire. This has risen in popularity compared to other messaging solutions like JMS. Why?

JMS is an API, whereas AMQP is a protocol. JMS defines how to talk to the broker but not the format of its messages. And it's confined to Java apps. AMQP doesn't speak about how to talk to a broker but about how messages are put on the wire and how they are pulled down.

To illustrate this point, imagine two different applications. If they were both Java, they could communicate via JMS. But if one of them were Ruby, JMS would be off the table.

To further demonstrate the differences between JMS and AMQP, a JMS-speaking broker can actually use AMQP under the hood to transport the messages.

In fact, I have contributed to the RabbitMQ JMS Client developed by Pivotal Software found at https://github.com/rabbitmq/rabbitmq-jms-client.

For this chapter, we will explore using RabbitMQ in the spirit of maximum options.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.139.70.101