To start the simplest queue manager, you 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.
MQeQueueManager qm = newMQeQueueManager(queueManagerName, registryName);
There are other ways to start a queue manager that allow you to pass more parameters, in order to take advantage of some advanced features.