RabbitMQ

Last updated
RabbitMQ
Developer(s) Broadcom
Stable release
4.0.7 / February 26, 2025;1 day ago (2025-02-26)
Repository github.com/rabbitmq
Written in Erlang
Operating system Cross-platform
Type AMQP, message-oriented middleware
License Mozilla Public License
Website www.rabbitmq.com

RabbitMQ is an open-source message-broker software (sometimes called message-oriented middleware) that originally implemented the Advanced Message Queuing Protocol (AMQP) and has since been extended with a plug-in architecture to support Streaming Text Oriented Messaging Protocol (STOMP), MQ Telemetry Transport (MQTT), and other protocols. [1]

Contents

Written in Erlang, the RabbitMQ server is built on the Open Telecom Platform framework for clustering and failover. Client libraries to interface with the broker are available for all major programming languages. The source code is released under the Mozilla Public License.

Since November 2020, there are commercial offerings available of RabbitMQ, for support and enterprise features: "VMware RabbitMQ OVA", "VMware RabbitMQ" and "VMware RabbitMQ for Kubernetes" (different feature levels) [2] Open-Source RabbitMQ is also packaged by Bitnami [3] and commercially for VMware's Tanzu Application Service.

History

Originally developed by Rabbit Technologies Ltd. which started as a joint venture between LShift and CohesiveFT in 2007, [4] RabbitMQ was acquired in April 2010 by SpringSource, a division of VMware. [5] The project became part of Pivotal Software in May 2013. [6] Which then got acquired back by VMware in December 2019. [7]

The project consists of:

Examples

This section gives sample programs written in Python (using the pika package) for sending and receiving messages using a queue.

Sending

The following code fragment establishes a connection, makes sure the recipient queue exists, then sends a message and finally closes the connection.

#!/usr/bin/env python3importpikaconnection=pika.BlockingConnection(pika.ConnectionParameters(host="localhost"))channel=connection.channel()channel.queue_declare(queue="hello")channel.basic_publish(exchange="",routing_key="hello",body="Hello World!")print(" [x] Sent 'Hello World!'")connection.close()

Receiving

Similarly, the following program receives messages from the queue and prints them on the screen: (Note: This example does not acknowledge receipt of the message.)

#!/usr/bin/env python3importpikadefcallback(ch,method,properties,body):print(" [x] Received %r"%body)connection=pika.BlockingConnection(pika.ConnectionParameters(host="localhost"))channel=connection.channel()channel.queue_declare(queue="hello")print(" [*] Waiting for messages. To exit press Ctrl+C")channel.basic_consume(queue="hello",on_message_callback=callback)channel.start_consuming()

End-of-support schedule [8]

ReleaseReleasedCommunity SupportExtended Commercial SupportLatest
4.0.118 Sept 2024Until The Next ReleaseEnds 30 Sept 20274.0.5

(15 Dec 2024)

3.1322 Feb 2024Ended 18 Sept 2024Ends 31 Dec 20273.13.7

(26 Aug 2024)

3.1201 Jun 2023Ended 22 Feb 2024Ends 30 Jun 20253.12.14

(6 May 2024)

3.1126 Sep 2022Ended 2 Jun 2023Ended 30 Jun 20243.11.28

(22 Dec 2023)

3.103 May 2022Ended 31 Jul 2023Ended 31 Dec 20233.10.25

(17 Jul 2023)

3.923 Jul 2021Ended 31 Jan 2023Ended 31 Jul 20233.9.29
3.801 Oct 2019Ended 31 Jul 2022Ended 31 Jul 20223.8.35
3.728 Nov 2017Ended 30 Sep 2020Ended 30 Sep 20203.7.28
3.622 Dec 2015Ended 31 May 2018Ended 31 May 20183.6.16
3.511 Mar 2015Ended 31 Oct 2016Ended 31 Oct 20163.5.8
3.421 Oct 2014Ended 31 Oct 2015Ended 31 Oct 20153.4.4
3.302 Apr 2014Ended 31 Mar 2015Ended 31 Mar 20153.3.5
3.223 Oct 2013Ended 31 Oct 2014Ended 31 Oct 20143.2.4
3.11 May 2013Ended 30 Apr 2014Ended 30 Apr 20143.1.5
3.019 Nov 2012Ended 30 Nov 2013Ended 30 Nov 20133.0.4

See also

References

  1. Which protocols does RabbitMQ support?
  2. "VMware RabbitMQ" . Retrieved 5 May 2023.
  3. "RabbitMQ". bitnami.com. Retrieved 2023-05-08.
  4. "Launch of RabbitMQ Open Source Enterprise Messaging" (PDF). Press release. February 8, 2007. Retrieved October 23, 2013.
  5. "Rabbit Technologies announce acquisition by SpringSource". Press release. April 13, 2010. Archived from the original on April 18, 2010. Retrieved October 3, 2013.
  6. "Proudly part of Pivotal". Press release. May 14, 2010. Archived from the original on June 2, 2013. Retrieved October 3, 2013.
  7. "VMware Completes Acquisition of Pivotal". VMware News and Stories. 30 December 2019. Retrieved 2023-04-06.
  8. "RabbitMQ Release Information" . Retrieved 2023-06-10.

Further reading