|  |  |  | 
|---|
|  |  |  | 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_qay", "route_key_default_qay", "queue_default_qay"), | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 节点升级 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | RUN_VIP_NODE_UP(ExchangeConstants.RUN_VIP_NODE_UP, | 
|---|
|  |  |  | RouteKeyConstants.RUN_VIP_NODE_UP, | 
|---|
|  |  |  | QueueConstants.RUN_VIP_NODE_UP), | 
|---|
|  |  |  |  | 
|---|
|  |  |  | ORDER_CANCEL_DELAY_TTL("exchange_order_delay_ttl_qay", "route_key_order_delay_ttl_qay", "queue_order_delay_ttl_qay"), | 
|---|
|  |  |  | ORDER_CANCEL_DELAY("exchange_order_delay_qay", "route_key_order_delay_qay", "queue_order_delay_qay"), | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 购买成功消息 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | RUN_VIP_OPERATION_CHARGE(ExchangeConstants.RUN_VIP_OPERATION_CHARGE, | 
|---|
|  |  |  | RouteKeyConstants.RUN_VIP_OPERATION_CHARGE, | 
|---|
|  |  |  | QueueConstants.RUN_VIP_OPERATION_CHARGE), | 
|---|
|  |  |  |  | 
|---|
|  |  |  | AGENT_REUTRN_MONEY("exchange_agent_return_money_qay", "route_key_agent_return_money_qay", "queue_agent_return_money_qay"), | 
|---|
|  |  |  |  | 
|---|
|  |  |  | ORDER_RETURN_MONEY("exchange_order_return_money_qay", "route_key_order_return_money_qay", "queue_order_return_money_qay"), | 
|---|
|  |  |  |  | 
|---|
|  |  |  | ORDER_COUPON("exchange_order_coupon", "route_key_order_coupon", QueueConstants.ORDER_COUPON), | 
|---|
|  |  |  |  | 
|---|
|  |  |  | GET_SCORE_MSG("exchange_get_score_msg", "route_key_get_score_msg", QueueConstants.GET_SCORE_MSG); | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 充值自动过期 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | 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; | 
|---|
|  |  |  |  | 
|---|