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.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.

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