KKSU
2024-05-09 7c93f4f06f148546d4c760cf40194212d78878e0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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;
    }
}