Administration message

As with all queues deletion requires that the queue be empty of messages. Note that there is no parameter structure here - just the QueueName and QueueManager name.

Figure 41.

	/* Create an empty store-and-forward */
	/* queue admin message */
	/* all on one line*/
	MQeStoreAndForwardQueueAdminMsg msg = 
					new MQeStoreAndForwardQueueAdminMsg (qMgrName, queueName);
	
	/* Prime message with who to reply */
	/* to and a unique identifier */
	primeAdminMsg( msg );
	
	/* Set the admin action to delete a queue */
	msg.delete(new MQeFields() );


© IBM Corporation 2002, 2003. All Rights Reserved