getTimeToLive

 

public long getTimeToLive() throws JMSException;

Gets the default length of time that a produced message will be retained by the message system.

Returns

  • the length of time from its dispatch that a message is retained by default (milliseconds).

Exceptions

  • JMSException - with reason MQJMS_MESSAGEPRODUCER_CLOSED


uj29480_