reply queue aliasing, reply queue, aliasing, queue manager aliasing, queue manager" />
Attributes for queues
Types of queue: The queue manager supports the following types of queue definition:
- Local queue
- This is a physical queue that stores messages. The queue exists on the local queue manager.
Applications connected to the local queue manager can place messages on and remove messages from queues of this type. The value of the QType queue attribute is QTLOC.
- Shared queue
- This is a physical queue that stores messages. The queue exists in a shared repository that is accessible to all of the queue managers that belong to the queue-sharing group that owns the shared repository.
Applications connected to any queue manager in the queue-sharing group can place messages on and remove messages from queues of this type. Such queues are effectively the same as local queues. The value of the QType queue attribute is QTLOC.
- Shared queues are supported only on z/OS.
- Cluster queue
- This is a physical queue that stores messages. The queue exists either on the local queue manager, or on one or more of the queue managers that belong to the same cluster as the local queue manager.
Applications connected to the local queue manager can place messages on queues of this type, regardless of the location of the queue. If an instance of the queue exists on the local queue manager, the queue behaves in the same way as a local queue, and applications connected to the local queue manager can remove messages from the queue. The value of the QType queue attribute is QTCLUS.
- Alias queue
- This is not a physical queue - it is an alternative name for a local queue. The name of the local queue to which the alias resolves is part of the definition of the alias queue.
Applications connected to the local queue manager can place messages on and remove messages from alias queues - the messages are actually placed on and removed from the local queue to which the alias resolves. The value of the QType queue attribute is QTALS.
- Remote queue
- This is not a physical queue - it is the local definition of a queue that exists on a remote queue manager. The local definition of the remote queue contains information that tells the local queue manager how to route messages to the remote queue manager.
Applications connected to the local queue manager can place messages on remote queues - the messages are actually placed on the the local transmission queue used to route messages to the remote queue manager. Applications cannot remove messages from remote queues. The value of the QType queue attribute is QTREM.
A remote queue definition can also be used for:
- Reply-queue aliasing
In this case the name of the definition is the name of a reply-to queue. For more information, see the WebSphere MQ Intercommunication book.
- Queue-manager aliasing
In this case the name of the definition is an alias for a queue manager, and not the name of a queue. For more information, see the WebSphere MQ Intercommunication book.
- Model queue
- This is not a physical queue - it is a set of queue attributes from which a local queue can be created.
Messages cannot be stored on queues of this type.