Putting the administration message

Use the MQeQueueManager API call putMessage(), specifying the destination queue manager and the standard administration queue name. You can ignore the attribute, and confirmed parameters in the example, though they are available for more controlled access to the administration queue.

        // put the message to the right administration queue
        localQueueManager.putMessage(targetQueueManagerName, 
                                      MQe.Admin_Queue_Name, 
                                      msg, null, 0L);

Terms of use | WebSphere software

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