Administration message

Figure 25. Deleting a queue in Java

/* Create an empty queue admin message and parameters field */
MQeQueueAdminMsg msg = new MQeQueueAdminMsg();
 
MQeFields parms = new MQeFields();
 
/** Prime message with who to reply to and a unique identifier */
 
/*  Set name of queue to manage */
msg.setName( qMgrName, queueName );
 
/* Set the admin action to create a new queue */
msg.delete( parms );


© IBM Corporation 2002, 2003. All Rights Reserved