Description. set Max Delivery Count(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)
- Minimum value is 1.