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);

   }

Parent topic: List aliases