Message broker
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 but are typically not a replacement for traditional middleware like MOM and remote procedure call.
Overview
A message broker is an architectural pattern for message validation, transformation, and routing. It mediates communication among applications, minimizing the mutual awareness that applications should have of each other in order to be able to exchange messages, effectively implementing decoupling.Purpose
The primary purpose of a broker is to take incoming messages from applications and perform some action on them. Message brokers can decouple end-points, meet specific non-functional requirements, and facilitate reuse of intermediary functions. For example, a message broker may be used to manage a workload queue or message queue for multiple receivers, providing reliable storage, guaranteed message delivery and perhaps transaction management.Life cycle
The following represent other examples of actions that might be handled by the broker:- Route messages to one or more destinations
- Transform messages to an alternative representation
- Perform message aggregation, decomposing messages into multiple messages and sending them to their destination, then recomposing the responses into one message to return to the user
- Interact with an external repository to augment a message or store it
- Invoke web services to retrieve data
- Respond to events or errors
- Provide content and topic-based message routing using the publish–subscribe pattern
Real-time semantics
Message brokers that are purpose built to achieve time-bounded communications with end-to-end predictability allow for the development of real-time systems that require execution predictability. Frequently systems with real-time requirements involve interaction with the real worldThe Object Management Group Real-time CORBA specification provides a theoretical foundation for predictable communications technologies by levying the following requirements:
For the purposes of this specification, "end-to-end predictability" of timeliness in a fixed priority CORBA system is defined to mean:
- respecting thread priorities between client and server for resolving resource contention during the processing of CORBA invocations;
- bounding the duration of thread priority inversions during end-to-end processing;
- bounding the latencies of operation invocations.
List of message broker software
- Amazon Web Services
- Amazon Web Services
- Apache
- *Apache ActiveMQ
- *
- *Apache Camel
- *Apache Kafka
- *Apache Qpid
- *Apache Thrift
- *Apache Pulsar
- Cloverleaf
- Comverse Message Broker
- Coreflux
- Eclipse
- EMQX
- Enduro/X Transactional Message Queue
- Financial Fusion Message Broker
- Fuse Message Broker
- Gearman
- Google Cloud
- HiveMQ
- HornetQ
- IBM App Connect
- IBM MQ
- JBoss Messaging
- JORAM
- written in Crystal
- Microsoft Azure Service Bus
- Microsoft BizTalk Server
- NATS
- NanoMQ
- Open Message Queue
- Oracle Message Broker
- ORBexpress
- *ORBexpress written in Ada
- *ORBexpress written in C#
- *ORBexpress written in C++
- *ORBexpress written in Java
- RabbitMQ
- Redpanda
- Redis An open source, in-memory data structure store, used as a database, cache and message broker.
- SAP PI
- SMC
- Solace PubSub+
- Spread Toolkit
- Tarantool, a NoSQL database, with a set of stored procedures for message queues
- TIBCO Enterprise Message Service
- WSO2 Message Broker
- ZeroMQ