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;
|
}
|
}
|