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.
/* Create an empty store-and-forward queue admin message */ 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() );