This article may rely excessively on sources too closely associated with the subject , potentially preventing the article from being verifiable and neutral.(May 2019) |
Developer(s) | VMware |
---|---|
Stable release | 4.0.3 / October 28, 2024 |
Repository | github |
Written in | Erlang |
Operating system | Cross-platform |
Type | AMQP, message-oriented middleware |
License | Mozilla Public License |
Website | www |
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]
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.
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:
This section gives sample programs written in Python (using the pika package) for sending and receiving messages using a queue.
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()
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()
Release | Released | Community Support | Extended Commercial Support | Latest |
---|---|---|---|---|
4.0.1 | 18 Sept 2024 | Next Release | Ends 30 Sept 2027 | 4.0.3 (28 Oct 2024) |
3.13 | 22 Feb 2024 | Ended 18 Sept 2024 | Ends 31 Dec 2027 | 3.13.7 (26 Aug 2024) |
3.12 | 01 Jun 2023 | Ended 22 Feb 2024 | Ends 30 Jun 2025 | 3.12.14 (6 May 2024) |
3.11 | 26 Sep 2022 | Ended 2 Jun 2023 | Ended 30 Jun 2024 | 3.11.28 (22 Dec 2023) |
3.10 | 3 May 2022 | Ended 31 Jul 2023 | Ended 31 Dec 2023 | 3.10.25 (17 Jul 2023) |
3.9 | 23 Jul 2021 | Ended 31 Jan 2023 | Ended 31 Jul 2023 | 3.9.29 |
3.8 | 01 Oct 2019 | Ended 31 Jul 2022 | Ended 31 Jul 2022 | 3.8.35 |
3.7 | 28 Nov 2017 | Ended 30 Sep 2020 | Ended 30 Sep 2020 | 3.7.28 |
3.6 | 22 Dec 2015 | Ended 31 May 2018 | Ended 31 May 2018 | 3.6.16 |
3.5 | 11 Mar 2015 | Ended 31 Oct 2016 | Ended 31 Oct 2016 | 3.5.8 |
3.4 | 21 Oct 2014 | Ended 31 Oct 2015 | Ended 31 Oct 2015 | 3.4.4 |
3.3 | 02 Apr 2014 | Ended 31 Mar 2015 | Ended 31 Mar 2015 | 3.3.5 |
3.2 | 23 Oct 2013 | Ended 31 Oct 2014 | Ended 31 Oct 2014 | 3.2.4 |
3.1 | 1 May 2013 | Ended 30 Apr 2014 | Ended 30 Apr 2014 | 3.1.5 |
3.0 | 19 Nov 2012 | Ended 30 Nov 2013 | Ended 30 Nov 2013 | 3.0.4 |
The Jakarta Messaging API is a Java application programming interface (API) for message-oriented middleware. It provides generic messaging models, able to handle the producer–consumer problem, that can be used to facilitate the sending and receiving of messages between software systems. Jakarta Messaging is a part of Jakarta EE and was originally defined by a specification developed at Sun Microsystems before being guided by the Java Community Process.
In computer science, message queues and mailboxes are software-engineering components typically used for inter-process communication (IPC), or for inter-thread communication within the same process. They use a queue for messaging – the passing of control or of content. Group communication systems provide similar kinds of functionality.
Message-oriented middleware (MOM) is software or hardware infrastructure supporting sending and receiving messages between distributed systems. Message-oriented middleware is in contrast to streaming-oriented middleware where data is communicated as a sequence of bytes with no explicit message boundaries. Note that streaming protocols are almost always built above protocols using discrete messages such as frames (Ethernet), datagrams (UDP), packets (IP), cells (ATM), et al.
Microsoft Message Queuing (MSMQ) is a message queue implementation developed by Microsoft and deployed in its Windows Server operating systems since Windows NT 4 and Windows 95. Windows Server 2016 and Windows 10 also includes this component. In addition to its mainstream server platform support, MSMQ has been incorporated into Microsoft Embedded platforms since 1999 and the release of Windows CE 3.0.
IBM MQ is a family of message-oriented middleware products that IBM launched in December 1993. It was originally called MQSeries, and was renamed WebSphere MQ in 2002 to join the suite of WebSphere products. In April 2014, it was renamed IBM MQ. The products that are included in the MQ family are IBM MQ, IBM MQ Advanced, IBM MQ Appliance, IBM MQ for z/OS, and IBM MQ on IBM Cloud. IBM MQ also has containerised deployment options.
Mule is a lightweight enterprise service bus (ESB) and integration framework provided by MuleSoft. It has a Java-based platform and can also act as broker for interactions between other platforms such as .NET using web services or sockets.
The Advanced Message Queuing Protocol (AMQP) is an open standard application layer protocol for message-oriented middleware. The defining features of AMQP are message orientation, queuing, routing, reliability and security.
A message broker is an intermediary computer program module that translates a message from the formal messaging protocol of the sender to the formal messaging protocol of the receiver. Message brokers are elements in telecommunication or computer networks where software applications communicate by exchanging formally-defined messages. Message brokers are a building block of message-oriented middleware (MOM) but are typically not a replacement for traditional middleware like MOM and remote procedure call (RPC).
Simple Text Oriented Message Protocol (STOMP), formerly known as TTMP, is a simple text-based protocol, designed for working with message-oriented middleware (MOM). It provides an interoperable wire format that allows STOMP clients to talk with any message broker supporting the protocol.
Apache Felix is an open source implementation of the OSGi Core Release 6 framework specification. The initial codebase was donated from the Oscar project at ObjectWeb. The developers worked on Felix for a full year and have made various improvements while retaining the original footprint and performance. On June 21, 2007, the project graduated from incubation as a top level project and is considered the smallest size software at Apache Software Foundation.
The broker pattern is an architectural pattern that can be used to structure distributed software systems with decoupled components that interact by remote procedure calls. A broker component is responsible for coordinating communication, such as forwarding requests, as well as transmitting results and exceptions.
A message queueing service is a message-oriented middleware or MOM deployed in a compute cloud using software as a service model. Service subscribers access queues and or topics to exchange data using point-to-point or publish and subscribe patterns.
Spring was a software company founded by Rod Johnson, who also created the Spring Framework, an open-source application framework for enterprise Java applications. VMware purchased Spring for $420 million in August 2009.
HornetQ is an open-source asynchronous messaging project from JBoss. It is an example of Message-oriented middleware. HornetQ is an open source project to build a multi-protocol, embeddable, very high performance, clustered, asynchronous messaging system. During much of its development, the HornetQ code base was developed under the name JBoss Messaging 2.0.
ZeroMQ is an asynchronous messaging library, aimed at use in distributed or concurrent applications. It provides a message queue, but unlike message-oriented middleware, a ZeroMQ system can run without a dedicated message broker; the zero in the name is for zero broker. The library's API is designed to resemble Berkeley sockets.
Apache ActiveMQ is an open source message broker written in Java together with a full Java Message Service (JMS) client. It provides "Enterprise Features" which in this case means fostering the communication from more than one client or server. Supported clients include Java via JMS 1.1 as well as several other "cross language" clients. The communication is managed with features such as computer clustering and ability to use any database as a JMS persistence provider besides virtual memory, cache, and journal persistency.
MQTT is a lightweight, publish-subscribe, machine to machine network protocol for message queue/message queuing service. It is designed for connections with remote locations that have devices with resource constraints or limited network bandwidth, such as in the Internet of Things (IoT). It must run over a transport protocol that provides ordered, lossless, bi-directional connections—typically, TCP/IP. It is an open OASIS standard and an ISO recommendation.
Celery is an open source asynchronous task queue or job queue which is based on distributed message passing. While it supports scheduling, its focus is on operations in real time.
MQTT is an ISO standard publish–subscribe-based messaging protocol. It works on top of the Internet protocol suite TCP/IP. It is designed for connections with remote locations where a "small code footprint" is required or the network bandwidth is limited. The publish-subscribe messaging pattern requires a message broker.
RocketMQ is a distributed messaging and streaming platform with low latency, high performance and reliability, trillion-level capacity and flexible scalability. It is the third generation distributed messaging middleware open sourced by Alibaba in 2012. On November 21, 2016, Alibaba donated RocketMQ to the Apache Software Foundation. Next year, on February 20, the Apache Software Foundation announced Apache RocketMQ as a Top-Level Project.