Queue.DefinitionStages.WithMessageMovedToDeadLetterQueueOnMaxDeliveryCount Interface
public interface 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 Type | Method and Description |
---|---|
Queue. |
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. |
Method Details
withMessageMovedToDeadLetterQueueOnMaxDeliveryCount
public 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
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