Evan Harmon - Memex

Message Broker

img 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).
wikipedia:: Message broker
  • translates a message from the formal messaging protocol of the sender to the formal messaging protocol of the receiver.
  • 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.
  • 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.
  • Message brokers are a building block of Message-oriented Middleware (MOM)
  • Can effectively decouple various services

Uses

  • Invoke web services to retrieve data
  • 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
  • Route messages to one or more destinations
  • Provide content and topic-based message routing using the Publish-subscripe Pattern
  • Respond to events or errors
  • Transform messages to an alternative representation
Message Broker
Interactive graph
On this page
Message Broker
Uses
RabbitMQ
AWS SQS
Apache Kafka
Redis
ActiveMQ
Advanced Message Queuing Protocol (AMQP)
Amazon MQ
Google Cloud Pub_Sub
OpenMQ
MQTT