admin
2024-10-17 b30fb8afd3cd6228bda9b182dc412bb3c8daf69c
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
package com.yeshi.buwan.util.mq.rabbit;
 
/**
 * @author hxh
 * @title: DelayMsgInfo
 * @description: 延迟消息的数据
 * @date 2024/10/12 13:31
 */
public class DelayMsgInfo {
 
    private String queueName; // 队列名称
    private String exchangeName; // 交换机名称
    private String routingKey;
    private int delayMs; // 延迟的时间
    private int sendCount;// 发送次数
    private String msg;// 消息内容
 
    public String getRoutingKey() {
        return routingKey;
    }
 
    public void setRoutingKey(String routingKey) {
        this.routingKey = routingKey;
    }
 
    public String getQueueName() {
        return queueName;
    }
 
    public void setQueueName(String queueName) {
        this.queueName = queueName;
    }
 
    public String getExchangeName() {
        return exchangeName;
    }
 
    public void setExchangeName(String exchangeName) {
        this.exchangeName = exchangeName;
    }
 
    public int getDelayMs() {
        return delayMs;
    }
 
    public void setDelayMs(int delayMs) {
        this.delayMs = delayMs;
    }
 
    public int getSendCount() {
        return sendCount;
    }
 
    public void setSendCount(int sendCount) {
        this.sendCount = sendCount;
    }
 
    public String getMsg() {
        return msg;
    }
 
    public void setMsg(String msg) {
        this.msg = msg;
    }
}