Administration message

Figure 30. Removing an alias in Java

/* Create an empty queue admin message and parameters field */
MQeQueueAdminMsg msg = new MQeQueueAdminMsg();
 
/* Prime message with who to reply to and a unique identifier 
/* and set the name of the QueueManager and Queue  */
 
/* Specify the alias of the queue to be removed */
msg.removeAlias( "Fred" );
 
/* Set the admin action to update the queue */
msg.update( parms );


© IBM Corporation 2002, 2003. All Rights Reserved