tibemsMsgProducer_SetDeliveryMode

Function

Purpose

Set the delivery mode property of a producer object.

C Declaration

tibems_status tibemsMsgProducer_SetDeliveryMode(
    tibemsMsgProducer msgProducer,
    tibems_int deliveryMode );

COBOL Call

CALL "tibemsMsgProducer_SetDeliveryMode"
     USING BY VALUE msgProducer,
           BY VALUE deliveryMode,
           RETURNING tibems-status
END-CALL.
Note: msgProducer has usage pointer.

Parameters

Parameter Description
msgProducer Set the property of this producer.
deliveryMode Set the property to this value.

Remarks

Delivery mode instructs the server concerning persistent storage.

Programs can use this property to define a default delivery mode for messages that this producer sends. Individual sending calls can override this default value.

For values, see the type tibemsDeliveryMode.