What is a queue?

A queue is a data structure used to store messages until they are retrieved by an application.

Queues are managed by a queue manager. The queue manager is responsible for maintaining the queues it owns, storing all the messages it receives onto the appropriate queues, and retrieving the messages in response to application requests. The messages might be put on the queues by application programs, or by a queue manager as part of its operation.