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

MQSetBoolProperty

The MQSetBoolProperty function sets an MQBool property with the specified key to the specified value.


MQSetBoolProperty
               (const MQPropertiesHandle propertiesHandle,
                ConstMQString key,
                MQBool 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 the property key. The library makes a copy of the property key.

value

The MQBool property value.

Common Errors

MQ_HASH_VALUE_ALREADY_EXISTS