Putting the administration message in Java

Simply use the MQeQueueManager API call putMessage(), specifying the destination queue manager and the standard administration queue name. We can ignore the attribute, and confirmed parameters in our 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);
 


© IBM Corporation 2002, 2003. All Rights Reserved