ServiceBusSubscription.DefinitionStages.WithDefaultMessageTTL Interface
public static interface ServiceBusSubscription.DefinitionStages.WithDefaultMessageTTL
The stage of the subscription definition allowing to define default TTL for messages.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
With |
withDefaultMessageTTL(Duration ttl)
Specifies the duration after which the message expires. |
Method Details
withDefaultMessageTTL
public abstract ServiceBusSubscription.DefinitionStages.WithCreate withDefaultMessageTTL(Duration ttl)
Specifies the duration after which the message expires. Note: unless it is explicitly overridden the default ttl is infinite (TimeSpan.Max).
Parameters:
Returns: