MQ (Message Queue)
What is MQ?
MQ (Message Queue) is a communication pattern and technical mechanism used to exchange messages between systems asynchronously and reliably. MQ is commonly applied in integration architectures where systems must communicate without strict dependency on availability.
In an MQ-based solution, a sending system places a message in a queue, where it remains until a receiving system retrieves and processes it. Sender and receiver do not need to be active at the same time, enabling loose coupling and improved resilience.Read more
Key characteristics:
- Asynchronicity: sender and receiver operate independently
-
Reliability: messages are persisted until successfully delivered
-
Scalability: multiple consumers can read from the same queue
-
Error handling: failed deliveries can be retried or managed
History
The message queue concept emerged from early needs for reliable communication between mainframes and distributed systems, long before modern API-based integration became widespread.
In Microsoft environments
In Microsoft-based environments, MQ-style mechanisms are used to support asynchronous and reliable communication between applications and services.
Summary
MQ is a foundational integration principle that supports robust, scalable, and loosely coupled system communication.