Interface Queue.DefinitionStages.WithMessageMovedToDeadLetterQueueOnMaxDeliveryCount
- All Known Subinterfaces:
Queue.Definition
,Queue.DefinitionStages.Blank
,Queue.DefinitionStages.WithCreate
- Enclosing interface:
- Queue.DefinitionStages
public static interface Queue.DefinitionStages.WithMessageMovedToDeadLetterQueueOnMaxDeliveryCount
The stage of the queue definition allowing to specify maximum delivery count of message before
moving it to dead-letter queue.
-
Method Summary
Modifier and TypeMethodDescriptionwithMessageMovedToDeadLetterQueueOnMaxDeliveryCount
(int deliveryCount) Specifies maximum number of times a message can be delivered.
-
Method Details
-
withMessageMovedToDeadLetterQueueOnMaxDeliveryCount
Queue.DefinitionStages.WithCreate withMessageMovedToDeadLetterQueueOnMaxDeliveryCount(int deliveryCount) Specifies maximum number of times a message can be delivered. Once this count has exceeded, message will be moved to dead-letter queue.- Parameters:
deliveryCount
- maximum delivery count- Returns:
- the next stage of queue definition
-