setCleanupLevel

 

public void setCleanupLevel(int level) throws JMSException;

Sets the cleanup level.

Parameters

  • level - the cleanup level. The following values are accepted:

    • JMSC.MQJMS_CLEANUP_NONE

    • JMSC.MQJMS_CLEANUP_SAFE - default

    • JMSC.MQJMS_CLEANUP_STRONG

    • JMSC.MQJMS_CLEANUP_FORCE

    • JMSC.MQJMS_CLEANUP_NONDUR

Exceptions

  • JMSException - if level is not supported or if an illegal state is encountered.


uj27420_