package com.hzs.common.core.constant;

/**
 * RabbitMq 静态变量
 **/
public class RabbitMqConstants {

    /**
     * 统一mq前缀
     */
    public final static String PREFIX = "global_africa.";

    /**
     * 翻译MQ exchange
     */
    public static final String TRANSLATE_EXCHANGE = PREFIX + "translate.exchange";
    /**
     * 翻译MQ queue
     */
    public static final String TRANSLATE_QUEUE = PREFIX + "translate.queue";
    /**
     * 翻译MQ key
     */
    public static final String TRANSLATE_KEY = PREFIX + "translate.key";

    ////////////////////////////// 活动MQ推送 开始 //////////////////////////////

    /**
     * 活动 exchange
     */
    public static final String ACTIVITY_EXCHANGE = PREFIX + "activity.exchange";
    /**
     * 活动 key
     */
    public static final String ACTIVITY_KEY = PREFIX + "activity.key";
    /**
     * 基础活动 queue
     */
    public static final String ACTIVITY_QUEUE = PREFIX + "activity.queue";
    /**
     * 复消币赠送活动 queue
     */
    public static final String ACTIVITY_RECOIL_GIVE_QUEUE = PREFIX + "activity.recoil.give.queue";

    ////////////////////////////// 活动MQ推送 结束 //////////////////////////////

    ////////////////////////////// 活动撤单MQ推送 开始 //////////////////////////////
    /**
     * 撤单活动回写 exchange
     */
    public static final String ACTIVITY_BACK_EXCHANGE = PREFIX + "activity.back.exchange";
    /**
     * 撤单活动回写 key
     */
    public static final String ACTIVITY_BACK_KEY = PREFIX + "activity.back.key";
    /**
     * 撤单活动回写 queue
     */
    public static final String ACTIVITY_BACK_QUEUE = PREFIX + "activity.back.queue";
    /**
     * 复消币赠送撤单活动 queue
     */
    public static final String ACTIVITY_BACK_RECOIL_GIVE_QUEUE = PREFIX + "activity.back.recoil.give.queue";

    ////////////////////////////// 活动撤单MQ推送 结束 //////////////////////////////

    /**
     * 延迟队列 TTL 名称
     */
    public static final String DELAY_QUEUE = PREFIX + "delay.queue";
    /**
     * DLX，dead letter发送到的 exchange
     * 延时消息就是发送到该交换机的
     */
    public static final String DELAY_EXCHANGE = PREFIX + "delay.exchange";
    /**
     * routing key 名称
     * 具体消息发送在该 routingKey 的
     */
    public static final String DELAY_ROUTING_KEY = PREFIX + "delay.key";

    public static final String EFFECT_QUEUE_NAME = PREFIX + "effect.queue";
    public static final String EFFECT_EXCHANGE_NAME = PREFIX + "effect.exchange";
    public static final String EFFECT_ROUTING_KEY = PREFIX + "effect.key";

    /**
     * 消费升级MQ exchange
     */
    public static final String CONSUME_UPGRADE_EXCHANGE = PREFIX + "consume.upgrade.exchange";
    /**
     * 消费升级MQ queue
     */
    public static final String CONSUME_UPGRADE_QUEUE = PREFIX + "consume.upgrade.queue";
    /**
     * 消费升级MQ key
     */
    public static final String CONSUME_UPGRADE_KEY = PREFIX + "consume.upgrade.key";

}
