'This method asks the server to redeliver all unacknowledged messages
on a specified channel. Zero or more messages may be redelivered. This
method replaces the asynchronous Recover.
:param bool requeue: If False, the message will be redelivered to the
original recipient. If True, the server will
attempt to requeue the message, potentially then
delivering it to an alternative subscriber.'

def basic_recover(self, requeue=False):

    with _CallbackResult() as recover_ok_result:
        self._impl.basic_recover(callback=recover_ok_result.signal_once, requeue=requeue)
        self._flush_output(recover_ok_result.is_ready)
