package cc.mrbird.febs.rabbit;
|
|
import lombok.Data;
|
import lombok.Getter;
|
|
@Getter
|
public enum QueueEnum {
|
|
|
GFA_ZY_HUA_DIAN("exchange_gfa_hua_dian", "route_key_gfa_hua_dian", QueueConstants.QUEUE_GFA_ZY_HUA_DIAN),
|
|
/**
|
* 延时
|
*/
|
GFA_ZY_TIME_FLOW("exchange_gfa_zy_time_flow",
|
"route_key_gfa_zy_time_flow",
|
QueueConstants.QUEUE_GFA_ZY_TIME_FLOW),
|
GFA_ZY_TIME_TTL_FLOW("exchange_gfa_zy_time_ttl_flow",
|
"route_key_gfa_zy_time_ttl_flow",
|
QueueConstants.QUEUE_GFA_ZY_TIME_TTL_FLOW),
|
|
/**
|
* 延时
|
*/
|
GFA_ZY_TIME("exchange_gfa_zy_time",
|
"route_key_gfa_zy_time",
|
QueueConstants.QUEUE_GFA_ZY_TIME),
|
GFA_ZY_TIME_TTL("exchange_gfa_zy_time_ttl",
|
"route_key_gfa_zy_time_ttl",
|
QueueConstants.QUEUE_GFA_ZY_TIME_TTL),
|
|
ONLINE_TRANSFER("exchange_online_transfer", "route_key_online_transfer", QueueConstants.ONLINE_TRANSFER),
|
DISTRIB_PROFIT("exchange_gfa_distrib_profit", "route_key_gfa_distrib_profit", QueueConstants.DISTRIB_PROFIT),
|
USER_BUY_REWARD("exchange_user_buy_reward", "route_key_user_buy_reward", QueueConstants.USER_BUY_REWARD);
|
|
private String exchange;
|
|
private String route;
|
|
private String queue;
|
|
QueueEnum(String exchange, String route, String queue) {
|
this.exchange = exchange;
|
this.route = route;
|
this.queue = queue;
|
}
|
}
|