liveBook · Manning

Message queue

A message queue is an intermediary store that holds messages for consumers to retrieve and process, enabling asynchronous communication between producers and consumers.

How 3 Manning books explain it

Fast by Default

A message queue is an intermediary that buffers messages between producers and consumers so work can be processed asynchronously.

How it is used
Moves non-immediate work off user-facing request paths so downstream processing can occur asynchronously.
How deep it goes
Explains critical-path removal and contrasts task queues with durable, replayable event streams.
Examples
Uses purchase confirmation, emails, inventory updates, warehouses, analytics, image processing, and report generation.
What you can do after
Apply it via RabbitMQ for task distribution or Kafka for independent consumers and event replay.

Read how Fast by Default explains message queue →

Grokking Software Architecture

An intermediary buffer that holds messages for consumers to retrieve and process.

How it is used
Decouples slow or noncritical work from synchronous requests so service failures do not necessarily block the main task.
How deep it goes
Explains point-to-point delivery, competing consumers, and use cases alongside the contrast with topic broadcast.
Examples
Uses shipping-label printing, image resizing, order processing, and background AI analysis as queued work.
What you can do after
Apply queues to defer noncritical or long-running work and distribute each task to one worker.

Read how Grokking Software Architecture explains message queue →

ActiveMQ in Action

A queue is a messaging destination from which consumers receive messages.

How it is used
Buffers point-to-point messages until consumers receive them and provides a JMS destination for applications.
How deep it goes
Explains retention until consumption or expiry and shows practical destination configuration and deployment.
Examples
Uses delete and suspend job queues carrying 1,000 messages, and maps FooQueue to FOO.QUEUE.
What you can do after
Operate/configure JMS queue resources in Geronimo and run producer and consumer processes for queued jobs.

Read how ActiveMQ in Action explains message queue →

Also covered in

What to know first

Related concepts

Questions about message queue

What is message queue?

A message queue is an intermediary store that holds messages for consumers to retrieve and process, enabling asynchronous communication between producers and consumers.

Which Manning books explain message queue?

Fast by Default, Grokking Software Architecture and ActiveMQ in Action.

What should I know before learning message queue?

Manning books that teach message queue usually introduce message, event-driven architecture and latency first.

What is message queue a kind of?

Message queue is a kind of messaging destination. A messaging object that identifies an endpoint to which messages can be sent or from which they can be received.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.