def METHOD_NAME(self, messageType, messagePayload):
    try:
        if self.anyAcksReceivedFlag:
            if messagePayload:  # if payload then ack is for message currently in queue
                if not self.emitMessageQueue.empty():
                    (qMsgType, qMsgPayload, qWaitAckFlag) = self.emitMessageQueue.peek()  #pylint: disable=unused-variable
                    if messageType == qMsgType:
                        if messagePayload == qMsgPayload:
                            self.emitMessageQueue.get_nowait()
                            self.ackNotifyEventObj.set()
                        else:
                            self.logger.warning("SendAckQueue received 'ack' messagePayload ('{0}') "\
                                             "different from one in queue ('{1}')".\
                                             format(messagePayload, qMsgPayload))
                    else:
                        self.logger.warning("SendAckQueue received 'ack' messageType ('{0}') "\
                                         "different from one in queue ('{1}')".\
                                         format(messageType, qMsgType))
                elif messagePayload:
                    self.logger.warning("SendAckQueue received 'ack' with empty queue; msg: '{0}': {1}".\
                                     format(messageType, messagePayload))
        else:
            self.anyAcksReceivedFlag = True  # expect messages to be 'ack'd from now one
    except Exception:
        self.logger.exception("SendAckQueue error processing received 'ack' message")