QueueDescription.setMaxDeliveryCount(int maxDeliveryCount) 方法

定义

The maximum delivery count of a message before it is dead-lettered. The delivery count is increased when a message is received in PEEKLOCK mode and didn't complete the message before the message lock expired.

public void setMaxDeliveryCount(int maxDeliveryCount)

参数

maxDeliveryCount
int

- Minimum value is 1.

适用于