dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleQueueAdmin Class / AlterQueue Method
Limits the number of times a dequeue with OracleQueueDequeueMode.Remove mode can be attempted on a message. The maximum value of maxRetries is 2^31 -1. If this parameter less than zero, it is ignored.
Delay time in seconds before this message is scheduled for processing again after an application rollback. If this parameter less than zero, it is ignored.
Retention time in seconds for which a message is retained in the queue table after being dequeued. If this parameter less than zero, it is ignored.
User-specified description of the queue. If this parameter is null or is string.Empty, it is ignored.

In This Topic
    AlterQueue Method
    In This Topic
    Alters existing properties of a queue.
    Syntax
    'Declaration
     
    Public Sub AlterQueue( _
       ByVal maxRetries As Integer, _
       ByVal retryDelay As Double, _
       ByVal retentionTime As Double, _
       ByVal comment As String _
    ) 
    public void AlterQueue( 
       int maxRetries,
       double retryDelay,
       double retentionTime,
       string comment
    )

    Parameters

    maxRetries
    Limits the number of times a dequeue with OracleQueueDequeueMode.Remove mode can be attempted on a message. The maximum value of maxRetries is 2^31 -1. If this parameter less than zero, it is ignored.
    retryDelay
    Delay time in seconds before this message is scheduled for processing again after an application rollback. If this parameter less than zero, it is ignored.
    retentionTime
    Retention time in seconds for which a message is retained in the queue table after being dequeued. If this parameter less than zero, it is ignored.
    comment
    User-specified description of the queue. If this parameter is null or is string.Empty, it is ignored.
    Remarks
    The parameters OracleQueueOptions.MaxRetries, OracleQueueOptions.RetentionTime, and OracleQueueOptions.RetryDelay are not supported for nonpersistent queues. Note that maxRetries and retryDelay are supported for all single consumer queues and 8.1-compatible or higher multiconsumer queues but not for 8.0-compatible multiconsumer queues.
    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