tibemsMsgProducer_GetDeliveryMode

Function

Purpose

Get the delivery mode property of a producer object.

C Declaration

tibems_status tibemsMsgProducer_GetDeliveryMode(
    tibemsMsgProducer msgProducer,
    tibems_int* deliveryMode );

COBOL Call

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

Parameters

Parameter Description
msgProducer Get the property from this producer.
deliveryMode Store the property in this location.

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.