MQeRemoteQueueAdminMsg msg = new MQeRemoteQueueAdminMsg();
MQeFields params = new MQeFields();
/* Prime the admin message */
msg.setName(queueQMgrName, queueName);
params.putUnicode(description);
/* set this to be an asynchronous queue */
params.putByte(MQeQueueAdminMsg.Queue_Mode,
MQeQueueAdminMsg.Queue_Asynchronous);
/* Assuming that MsgLog is an established */
/* Alias set the QueueStore location */
params.putAscci(MQeQueueAdminMsg.Queue_FileDesc,
"MsgLog:c:\queuestore");
/* Set the administration action to create the queue */
msg.create(params);
/* send the message */
© IBM Corporation 2002, 2003. All Rights Reserved