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

MQSetInt64Property

The MQSetInt64Property function sets an MQInt64 property with the specified key to the specified value.


MQSetInt64Property
        (const MQPropertiesHandle propertiesHandle,
         ConstMQString key,
         MQInt64 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 MQInt64 property value.

Common Errors

MQ_HASH_VALUE_ALREADY_EXISTS