Protocols
Saved & recent

Message broker

Also called: broker, messaging server

A message broker is an intermediary that accepts messages and delivers them according to routing and storage rules. It can separate producers from consumers in time and location, but its supported protocols, persistence settings, and failure behavior determine what guarantees applications actually receive.

For example, a job producer may send work to a broker while workers consume queued jobs later. In RabbitMQ, an exchange routes messages into queues according to bindings; other systems use different models. The broker is running software, while AMQP or MQTT specifies communication rules used with it.

Related
Publish–subscribe, AMQP, Consumer acknowledgment, NATS, STOMP
Further reading
RabbitMQ tutorial — Publish/Subscribe
producer worker RabbitMQ broker job exchange job 2 job 3 queued routes deliver job 1 in progress example broker state
RabbitMQ example: an exchange routes producer messages into a queue. Two jobs wait while a worker processes an earlier job. The broker is software; protocols define exchanges with it, and durability depends on configuration.

View in the full Protocols collection