setMessageRetention

 

public void setMessageRetention(int mRet) throws JMSException;

Sets what happens to unwanted messages.

Parameters

  • mRet - possible values are:

    • JMSC.MQJMS_MRET_YES

    • JMSC.MQJMS_MRET_NO

Exceptions

  • JMSException - if mRet is not one of the above.


uj28510_