This section describes how to stop a queue manager and delete the definition of the queue manager.
public void stop() throws Exception { System.out.println("Stopping the queue manager."); myQueueManager.closeQuiesce(QUIESCE_TIME); myQueueManager = null; System.out.println("Queue manager stopped."); }
You can use the examples.helloworld.Unconfigure program to remove the queue manager from disk.