def convert_cur_message_dict_to_basic_properties(self, cur_job_dict, cur_message_number=None, cur_message_id=None, cur_app_id=None):

        content_type        = None
        content_encoding    = None
        headers             = None
        delivery_mode       = None
        priority            = None
        correlation_id      = None
        reply_to            = None
        expiration          = None
        message_id          = cur_message_id
        timestamp           = None
        user_id             = None
        app_id              = None
        cluster_id          = None

        if "AppID" in cur_job_dict and str(cur_job_dict["AppID"]) != "":
            app_id          = str(cur_job_dict["AppID"])
        else:
            if app_id is not None:
                app_id      = cur_app_id
            else:
                app_id      = "MsgSimApp"

        if "ClusterID" in cur_job_dict and str(cur_job_dict["ClusterID"]) != "":
            cluster_id      = str(cur_job_dict["ClusterID"])
        if "UserID" in cur_job_dict and str(cur_job_dict["UserID"]) != "":
            user_id         = str(cur_job_dict["UserID"])
        if "MessageID" in cur_job_dict and str(cur_job_dict["MessageID"]) != "":
            message_id      = str(cur_job_dict["MessageID"])
        if "ContentType" in cur_job_dict and str(cur_job_dict["ContentType"]) != "":
            content_type    = str(cur_job_dict["ContentType"])
        if "Encoding" == cur_job_dict and str(cur_job_dict["Encoding"]) != "":
            content_encoding= str(cur_job_dict["Encoding"])
        if "Headers" in cur_job_dict and (str(cur_job_dict["Headers"]) != "{}" and str(cur_job_dict["Headers"]) != ""):
            headers         = cur_job_dict["Headers"]
        if "DeliveryMode" in cur_job_dict and str(cur_job_dict["DeliveryMode"]) != "":
            delivery_mode   = int(cur_job_dict["DeliveryMode"])
        if "Priority" in cur_job_dict and str(cur_job_dict["Priority"]) != "":
            priority        = int(cur_job_dict["Priority"])
        if "CorrelationID" in cur_job_dict and str(cur_job_dict["CorrelationID"]) != "":
            correlation_id  = str(cur_job_dict["CorrelationID"])

        if "ReplyTo" in cur_job_dict and str(cur_job_dict["ReplyTo"]) != "":
            reply_to        = str(cur_job_dict["ReplyTo"])
        else:
            reply_to        = "Default"

        if "Expiration" in cur_job_dict and str(cur_job_dict["Expiration"]) != "":
            expiration      = str(cur_job_dict["Expiration"])
        else:
            now             = datetime.datetime.now()
            expiration      = str(1000 * int((now.replace(hour=23, minute=59, second=59, microsecond=999999) - now).total_seconds()))

        if "Timestamp" in cur_job_dict and str(cur_job_dict["Timestamp"]) != "":
            timestamp       = int(cur_job_dict["Timestamp"])
        else:
            timestamp       = time.time()
        
        properties          = pika.BasicProperties(
                                            content_type=content_type,
                                            content_encoding=content_encoding,
                                            headers=headers,
                                            delivery_mode=delivery_mode,
                                            priority=priority,
                                            correlation_id=correlation_id,
                                            reply_to=reply_to,
                                            expiration=expiration,
                                            message_id=message_id,
                                            timestamp=timestamp,
                                            user_id=user_id,
                                            app_id=app_id,
                                            cluster_id=cluster_id)


        return properties
    # end of convert_cur_message_dict_to_basic_properties
dataset/ETHPy150Open GetLevvel/message-simulator/src/rabbit_message_publisher.py/RabbitMessagePublisher.convert_cur_message_dict_to_basic_properties/operator `in` -> `==`