SubscriptionDescription.getDefaultMessageTimeToLive 方法

定义

Time-To-Live is the duration after which the message expires, starting from when the message is sent to Service Bus. This is the default value used when getTimeToLive() is not set on a message itself. Messages older than their TimeToLive value will expire and no longer be retained in the message store. Subscribers will be unable to receive expired messages.

public Duration getDefaultMessageTimeToLive()

返回

Duration

The default time to live value for the messages. Default value is ManagementClientConstants#MAX_DURATION

适用于