ServiceBusSubscription.UpdateStages.WithMessageLockDuration Interface
public static interface ServiceBusSubscription.UpdateStages.WithMessageLockDuration
The stage of the subscription definition allowing to define duration for message lock.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract Update |
withMessageLockDurationInSeconds(int durationInSeconds)
Specifies the amount of time that the message is locked for other receivers. |
Method Details
withMessageLockDurationInSeconds
public abstract ServiceBusSubscription.Update withMessageLockDurationInSeconds(int durationInSeconds)
Specifies the amount of time that the message is locked for other receivers.
Parameters:
durationInSeconds
- duration of a lock in seconds
Returns:
the next stage of subscription update
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