Interface Queue.DefinitionStages.WithDefaultMessageTTL
- All Known Subinterfaces:
Queue.Definition
,Queue.DefinitionStages.Blank
,Queue.DefinitionStages.WithCreate
- Enclosing interface:
- Queue.DefinitionStages
public static interface Queue.DefinitionStages.WithDefaultMessageTTL
The stage of the queue definition allowing to define default TTL for messages.
-
Method Summary
Modifier and TypeMethodDescriptionwithDefaultMessageTTL
(org.joda.time.Period ttl) Specifies the duration after which the message expires.
-
Method Details
-
withDefaultMessageTTL
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
-