def get_mq_receiver(callback: typing.Callable[([], bool)]) -> MQReceiverProtocol:
    return MQReceiverFactory.get_mq_receiver(constants.MQ_RECEIVER_TYPE, check_if_must_exit=callback)
def get_mq_receiver(callback: typing.Callable[([], bool)]) -> MQReceiverProtocol:
    return MQReceiverFactory.get_mq_receiver(constants.MQ_RECEIVER_TYPE, check_if_must_exit=callback)