recover

 

public void recover() throws JMSException;

Stops message delivery in this session and restarts message delivery with the oldest unacknowledged message. This always throws a JMSException when you have a direct connection to a broker.

Exceptions

  • JMSException - with one of the following reasons:

    • MQJMS_E_SESSION_CLOSED

    • MQJMS_E_SESSION_IS_TRANSACTED

    • MQJMS_EXCEPTION_MQ_NULL_QMGR

    • MQJMS_E_RECOVER_BO_FAILED


uj30300_