Message.setExpiryTime(long timeOut) 方法

定义

Setter for the expiryTime property. This setter uses relative time, not absolute time.

public void setExpiryTime(long timeOut)

参数

timeOut
long

The time out for the message, in milliseconds, from the current time.

适用于