Queue.DefinitionStages.WithMessageLockDuration Interface
public static interface Queue.DefinitionStages.WithMessageLockDuration
The stage of the queue definition allowing to define duration for message lock.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
With |
withMessageLockDurationInSeconds(int durationInSeconds)
Specifies the amount of time that the message is locked for other receivers. |
Method Details
withMessageLockDurationInSeconds
public abstract Queue.DefinitionStages.WithCreate withMessageLockDurationInSeconds(int durationInSeconds)
Specifies the amount of time that the message is locked for other receivers. Note: unless it is explicitly overridden the default lock duration is 60 seconds, the maximum allowed value is 300 seconds.
Parameters:
durationInSeconds
- duration of a lock in seconds
Returns:
the next stage of queue definition
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java