Sun GlassFish Message Queue 4.4 Developer's Guide for C Clients

MQGetInt16Property

The MQGetInt16Property function passes back the value of the MQInt16 property for the specified key.


MQGetInt16Property(const MQPropertiesHandle propertiesHandle,
                         ConstMQString key,
                         MQInt16 * value);

Return Value

MQStatus. See the MQStatusIsError() function for more information.

Parameters

propertiesHandle

A properties handle for the specified key you want to get.

key

The name of a property key.

value

Output parameter for the property value.

Common Errors

MQ_NOT_FOUND
MQ_INVALID_TYPE_CONVERSION