C

The information for the queue is passed in via a structure to the API. Two important points are:

MQeLocalQParms localQParms = LOCAL_Q_INIT_VAL;

localQParms.queueMaxQSize  = 200;
localQParms.queueExpiry    = 20000;
localQParms.queueDescription = hDescription;  
//this is an MQeStringHndl

localQParms.opFlags = QUEUE_MAX_Q_SIZE_OP | QUEUE_EXPIRY_OP | QUEUE_DESC_OP;

rc = mqeAdministrator_LocalQueue_create(hAdministrator,
                                        &exceptBlk,
                                        hLocalQueueName,
                                        hLocalQMName,
                                        &localQParms);

Terms of use | WebSphere software

(c) Copyright IBM Corporation 2004, 2005. All rights reserved.