8. Create a second queue manager (QM2)

When you have finished configuring QM1 (as shown in the previous steps in this walkthrough), you need to create a second queue manager called QM2:

Creating QM2 using MQe_Script:

You can use the following MQe_Script command to create a queue manager called QM2:
mqe_script_qm -create -qmname QM2 
This command creates a queue manager called QM2, with the following characteristics:
  • Public registry
  • A base location of C:\program files\mqe\java\mqe_script. The default registry and queue directories are in subdirectories in this path
  • Uses the default message store and saves the information to disk
  • Contains 4 default queues
An ini file is also created so that the queue manager information is saved and can be started again by passing the location of this file to an appropriate method.

Creating a queue manager programmatically:

To find out more about creating and configuring queue managers, see Configuration by messages overview. For more information on using Java or C to create a queue manager, see Creating a queue manager - step by step. For examples in Java™ and C, see Creating a simple queue manager in Java and Creating a simple queue manager in C.


Terms of use | WebSphere software

(c) Copyright IBM Corporation 2004, 2005. All rights reserved.