# tibemsMsgProducer_GetDeliveryDelay

Function

## Purpose

Get the delivery delay property of a producer object.

## C Declaration

    tibems_status tibemsMsgProducer_GetDeliveryDelay(
        tibemsMsgProducer msgProducer,
        tibems_long* deliveryDelay );

## COBOL Call

    CALL "tibemsMsgProducer_GetDeliveryDelay"
         USING BY VALUE msgProducer,
               BY REFERENCE deliveryDelay,
               RETURNING tibems-status
    END-CALL.

Note: `msgProducer` has usage pointer.

## Parameters

Parameter | Description
--- | ---
`msgProducer` | Get the property from this producer.
`deliveryDelay` | Store the property in this location.

## Remarks

Get the minimum length of time, in milliseconds, that must elapse after a message is sent before the JMS provider may deliver the message to a consumer.

## See Also

`tibemsMsg_GetDeliveryTime`

`tibemsMsgProducer_SetDeliveryDelay`

Copyright © Cloud Software Group, Inc. All rights reserved.