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.
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.
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.
Also covered in
- Building Distributed Applications that Work
- The Cloud at Your Service: The when, how, and why of enterprise cloud computing
What to know first
- messageA message is a discrete unit of information or data communicated between participants or software components, often represented as a structured record.
- event-driven architectureEvent-driven architecture is a software architectural style in which components communicate and initiate processing by producing and responding to events.
- latencyLatency is the elapsed time between initiating an operation or request and receiving its corresponding result or observable response.
Related concepts
- messaging destinationkind of · A messaging object that identifies an endpoint to which messages can be sent or from which they can be received.
- point-to-point domainused by · A JMS messaging style in which messages are sent to queues and each message is delivered to one consumer.
- virtual topicused by · An ActiveMQ messaging pattern in which publishers send to a topic and consumers receive the resulting messages from queues.
- asynchronous programmingimplements · Asynchronous programming structures operations so that the initiating execution can continue or yield control without synchronously waiting for each operation to complete.
- critical pathaddresses · A critical path is a sequence of dependent or essential activities whose completion or timing constrains the progress or duration of a process or system.
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.


