C

A list of aliases can be obtained from the C API by using the following API. Note that the Vector must be freed after use.

if (MQERETURN_OK == rc)
   {
    MQeVectorHndl hVectorAliases;
    rc = mqeAdministrator_LocalQueue_listAliasNames(hAdministrator,
                                                    &exceptBlk,
                                                    hLocalQueueName,
                                                    hLocalQMName,
                                                    &hVectorAliases);

    /* process the aliases vector here */

    rc = mqeVector_free(hVectorAliases,&exceptBlk);

   }

Terms of use | WebSphere software

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