Stopping and deleting the queue manager

This section describes how to stop a queue manager and delete the definition of the queue manager.

Stopping the queue manager

You can stop the queue manager using a controlled shutdown.
   public void stop() throws Exception {
          System.out.println("Stopping the queue manager.");
          myQueueManager.closeQuiesce(QUIESCE_TIME);
          myQueueManager = null;
          System.out.println("Queue manager stopped.");
      }

Deleting the definition of the queue manager from the disk

You can use the examples.helloworld.Unconfigure program to remove the queue manager from disk.


Terms of use | WebSphere software

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