setExpiry

 

public void setExpiry(long expiry) throws JMSException;

Sets the expiry of all messages sent to this destination.

Parameters

  • expiry - the expiry time (milliseconds).

Exceptions

  • JMSException - if expiry is not valid.


uj29200_