If an application wants to receive all unacknowledged messages again, it can call the
recover procedure in the Session object. If the recover procedure is called on a session stopped by the
stopReceiveMessagesprocedure, the session is recovered and message delivery is restarted.