Sun Java System Message Queue 4.3 Developer's Guide for C Clients

MQSetInt16Property

The MQSetInt16Property function sets an MQInt16 property with the specified key to the specified value.


MQSetInt16Property
        (const MQPropertiesHandle propertiesHandle,
         ConstMQString key,
         MQInt16 value);

Return Value

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

Parameters

propertiesHandle

A handle to the properties object whose property value for the specified key you want to set.

key

The name of a property key. The library makes a copy of the property key.

value

The MQInt16 property value.

Common Errors

MQ_HASH_VALUE_ALREADY_EXISTS