dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleQueueMessageProperties Class / Expiration Property

In This Topic
    Expiration Property
    In This Topic
    Specifies the expiration of the message. It determines, in seconds, the duration the message is available for dequeuing. Default is -1.
    Syntax
    'Declaration
     
    Public Property Expiration As Integer
    public int Expiration {get; set;}

    Property Value

    The number of seconds message remains in OracleQueueMessageState.Ready state.
    Remarks

    This parameter is an offset from the time the message is ready for dequeue. Expiration processing requires the queue monitor to be running. However the queue monitor is started automatically by the system if needed.

    If Expiration = -1 the message does not expire.

    If the message is not dequeued before it expires, then it is moved to the exception queue in the OracleQueueMessageState.Expired state.

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also