'Called in reply to a Basic.Get when there is a message.
:param pika.frame.Method method_frame: The method frame received
:param pika.frame.Header header_frame: The header frame received
:param body: The body received
:type body: str or unicode'

def _on_getok(self, method_frame, header_frame, body):

    if (self._on_getok_callback is not None):
        callback = self._on_getok_callback
        self._on_getok_callback = None
        callback(self, method_frame.method, header_frame.properties, body)
    else:
        LOGGER.error('Basic.GetOk    received    with    no    active    callback')
