KKSU
2024-12-17 288e2a2ca2e7c2f7158507174a42f8a417380d23
src/main/java/cc/mrbird/febs/rabbit/enumerates/RabbitQueueEnum.java
@@ -1,14 +1,29 @@
package cc.mrbird.febs.rabbit.enumerates;
import cc.mrbird.febs.rabbit.constants.ExchangeConstants;
import cc.mrbird.febs.rabbit.constants.QueueConstants;
import cc.mrbird.febs.rabbit.constants.RouteKeyConstants;
import lombok.Getter;
@Getter
public enum RabbitQueueEnum {
    DEFAULT("exchange_default", "route_key_default", "queue_default"),
    /**
     * 购买成功消息
     */
   RUN_VIP_OPERATION_CHARGE(ExchangeConstants.RUN_VIP_OPERATION_CHARGE,
            RouteKeyConstants.RUN_VIP_OPERATION_CHARGE,
            QueueConstants.RUN_VIP_OPERATION_CHARGE),
    ORDER_CANCEL_DELAY_TTL("exchange_order_delay_ttl", "route_key_order_delay_ttl", "queue_order_delay_ttl"),
    ORDER_CANCEL_DELAY("exchange_order_delay", "route_key_order_delay", "queue_order_delay");
    /**
     * 充值自动过期
     */
   RUN_VIP_OPERATION_CHARGE_FAIL(ExchangeConstants.RUN_VIP_OPERATION_CHARGE_FAIL,
            RouteKeyConstants.RUN_VIP_OPERATION_CHARGE_FAIL,
            QueueConstants.RUN_VIP_OPERATION_CHARGE_FAIL),
    RUN_VIP_OPERATION_CHARGE_FAIL_TTL(ExchangeConstants.RUN_VIP_OPERATION_CHARGE_FAIL_TTL,
            RouteKeyConstants.RUN_VIP_OPERATION_CHARGE_FAIL_TTL,
            QueueConstants.RUN_VIP_OPERATION_CHARGE_FAIL_TTL),;
    private String exchange;