Queue.DefinitionStages.WithDefaultMessageTTL Interface
public interface WithDefaultMessageTTL
The stage of the queue definition allowing to define default TTL for messages.
Method Summary
Modifier and Type | Method and Description |
---|---|
Queue. |
withDefaultMessageTTL(Period ttl)
Specifies the duration after which the message expires. Note: unless it is explicitly overridden the default ttl is infinite (TimeSpan.Max). |
Method Details
withDefaultMessageTTL
public WithCreate withDefaultMessageTTL(Period ttl)
Specifies the duration after which the message expires. Note: unless it is explicitly overridden the default ttl is infinite (TimeSpan.Max).
Parameters:
ttl
- time to live duration
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