Starting the simplest queue manager is facile, as we only need to provide the queue manager name and registry location to the queue manager constructor. This starts and activates the queue manager, and when the constructor returns the queue manager is running.
Figure 18. Start queue manager Java example
MQeQueueManager qm = newMQeQueueManager(queueManagerName, registryName);
There are other ways to start a queue manager that allow us to pass more parameters, in order to take advantage of some advanced features, which are explained in later chapters.