Functions | |
MQERETURN | mqeQueueAdminMsg_new (MQeExceptBlock *pErrStruct, MQeQueueAdminMsgHndl *phMsgObj, MQECONST MQeStringHndl hQueueManagerName, MQECONST MQeStringHndl hQueueName) |
Constructs an MQeQueueAdminMsg object. | |
MQERETURN | mqeQueueAdminMsg_addAlias (MQeQueueAdminMsgHndl hMsgObj, MQeExceptBlock *pErrStruct, MQECONST MQeStringHndl hAliasName) |
Adds a queue alias to the QueueAdminMsg. | |
MQERETURN | mqeQueueAdminMsg_removeAlias (MQeQueueAdminMsgHndl hMsg, MQeExceptBlock *pErrStruct, MQECONST MQeStringHndl hAliasName) |
Removes a queue alias from the QueueAdminMsg. | |
MQERETURN | mqeQueueAdminMsg_setName (MQeQueueAdminMsgHndl hMsg, MQeExceptBlock *pErrStruct, MQECONST MQeStringHndl hQueueMgrName, MQECONST MQeStringHndl hQueueName) |
Sets the name of the queue the actions is to be performed on. |
Following actions are available on local queues:
|
Users are expected to apply mqeAdminMsg_*() API calls to the returned object. However, the returned object is no different from an object returned by mqeMsg_new() except some extra default fields are introduced. Any calls (except mqeMsg_free()) applicable to an MQeMsg can therefore be applied to the returned object as well (provided you known what you are doing).
|
|
Sets up an administration message to perform the MQE_ADMIN_ACTION_ADDALIAS action. A queue can have no aliases, one alias or several aliases. This method can be called more than once to allow multiple aliases to be added in one administration message.
|
|
Sets up an administration message to perform the MQE_ADMIN_ACTION_REMOVEALIAS action This action removes the named alias from the queue. This method may be called more than once to allow multiple aliases to be remove using one administration message.
|
|
|