Figure 44.
/* Create an empty store and forward */
/* queue admin message and parameters field */
MQeStoreAndForwardQueueAdminMsg msg = new MQeStoreAndForwardQueueAdminMsg ();
MQeFields parms = new MQeFields();
/** Prime message with who to reply to and a unique identifier */
primeAdminMsg(msg);
/* Set name of queue to manage */
msg.setName(qMgrName, queueName);
/* Add any characteristics of queue here, otherwise */
/* characteristics will be left to default values.*/
parms.putUnicode(MQeQueueAdminMsg.Queue_Description, description);
parms.putInt(MQeQueueAdminMsg.Queue_MaxQSize,10);
/* Set the admin action to update */
msg.update(parms);
© IBM Corporation 2002, 2003. All Rights Reserved