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

In This Topic
    Delay Property
    In This Topic
    Specifies the delay of the enqueued message. The default value is 0.
    Syntax
    'Declaration
     
    Public Property Delay As Integer
    public int Delay {get; set;}

    Property Value

    The delay of the enqueued message. The default value is 0.
    Remarks

    The delay represents the number of seconds after which a message is available for dequeuing. Dequeuing by message id overrides the delay specification. A message enqueued with delay set is in the OracleQueueMessageState.Waiting state, and when the delay expires, the message goes to the OracleQueueMessageState.Ready state. Delay processing requires the queue monitor to be started. However the queue monitor is started automatically by the system if needed. Delay is set by the producer who enqueues the message.

    If this property is equal to zero, the message is available for immediate dequeuing.

    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