Administer local IBM MQ objects
We can administer local IBM MQ objects to
support application programs that use the Message Queue Interface (MQI).
About this task
In this context, local administration means creating, displaying, changing, copying, and deleting
IBM MQ objects.
In addition to the approaches described in this section, we can use the IBM MQ Explorer to administer local IBM MQ objects. For more information, see Administration using the IBM MQ Explorer .
Starting and stopping a queue manager
An introduction to stopping and starting a queue manager with links to further information.
Stop MQI channels
When you issue a STOP CHANNEL command against a server-connection channel, we can choose what method to use to stop the client-connection channel. This means that a client channel issuing an MQGET wait call can be controlled, and we can decide how and when to stop the channel.
Working with queue managers
Examples of MQSC commands that we can use to display or alter queue manager attributes.
Working with local queues
This section contains examples of some MQSC commands that we can use to manage local, model, and alias queues.
Working with alias queues
We can define an alias queue to refer indirectly to another queue or topic.
Working with dead-letter queues
Each queue manager typically has a local queue to use as a dead-letter queue, so that messages that cannot be delivered to their correct destination can be stored for later retrieval. You tell the queue manager about the dead-letter queue, and specify how messages found on a dead-letter queue are to be processed. Using dead-letter queues can affect the sequence in which messages are delivered, so you might choose not to use them.
Working with model queues
A queue manager creates a dynamic queue if it receives an MQI call from an application specifying a queue name that has been defined as a model queue. The name of the new dynamic queue is generated by the queue manager when the queue is created. A model queue is a template that specifies the attributes of any dynamic queues created from it. Model queues provide a convenient method for applications to create queues as required.
Working with administrative topics
Use MQSC commands to manage administrative topics.
Working with subscriptions
Use MQSC commands to manage subscriptions.
Working with services
Service objects are a means by which additional processes can be managed as part of a queue manager. With services, we can define programs that are started and stopped when the queue manager starts and ends. IBM MQ services are always started under the user ID of the user who started the queue manager.
Managing objects for triggering
IBM MQ enables you to start an application automatically when certain conditions on a queue are met. For example, you might want to start an application when the number of messages on a queue reaches a specified number. This facility is called triggering . You have to define the objects that support triggering.
Use the dmpmqmsg utility between two systems
The dmpmqmsg utility (formerly qload) is incorporated into the product from Version 8.0. Formerly the qload utility has been available as SupportPac MO03.
Parent topic: Administer IBM MQ