Interface Queue.UpdateStages.WithMessageMovedToDeadLetterQueueOnMaxDeliveryCount

All Known Subinterfaces:
Queue.Update
Enclosing interface:
Queue.UpdateStages

public static interface Queue.UpdateStages.WithMessageMovedToDeadLetterQueueOnMaxDeliveryCount
The stage of the queue definition allowing to specify maximum delivery count of message before moving it to dead-letter queue.
  • Method Details

    • withMessageMovedToDeadLetterQueueOnMaxDeliveryCount

      Queue.Update 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 update