package cc.mrbird.febs.rabbit.enumerates; import cc.mrbird.febs.rabbit.constants.QueueConstants; import lombok.Getter; @Getter public enum RabbitQueueEnum { DEFAULT("exchange_default_qay", "route_key_default_qay", "queue_default_qay_xcx"), ORDER_CANCEL_DELAY_TTL("exchange_order_delay_ttl_qay_xcx", "route_key_order_delay_ttl_qay_xcx", "queue_order_delay_ttl_qay_xcx"), ORDER_CANCEL_DELAY("exchange_order_delay_qay_xcx", "route_key_order_delay_qay_xcx", "queue_order_delay_qay_xcx"), AGENT_REUTRN_MONEY("exchange_agent_return_money_qay_xcx", "route_key_agent_return_money_qay_xcx", "queue_agent_return_money_qay_xcx"), ORDER_RETURN_MONEY("exchange_order_return_money_qay_xcx", "route_key_order_return_money_qay_xcx", "queue_order_return_money_qay_xcx"), ORDER_COUPON("exchange_order_coupon_xcx", "route_key_order_coupon_xcx", QueueConstants.ORDER_COUPON), GET_SCORE_MSG("exchange_get_score_msg_xcx", "route_key_get_score_msg_xcx", QueueConstants.GET_SCORE_MSG), VIP_LEVEL_UP("exchange_vip_level_up_xcx", "route_key_vip_level_up_xcx", QueueConstants.VIP_LEVEL_UP); private String exchange; private String route; private String queue; RabbitQueueEnum(String exchange, String route, String queue) { this.exchange = exchange; this.route = route; this.queue = queue; } }