ServiceBusSubscription.DefinitionStages.WithMessageLockDuration Interface
public interface WithMessageLockDuration
The stage of the subscription definition allowing to define duration for message lock.
Method Summary
Modifier and Type | Method and Description |
---|---|
Service |
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. |
Method Details
withMessageLockDurationInSeconds
public 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:
Returns:
Applies to
Azure SDK for Java