public class MessageInfoBO extends Object implements Serializable
| Constructor and Description |
|---|
MessageInfoBO() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBody()
返回 消息体
|
String |
getConsumerId()
返回 消費者Id
|
Integer |
getConsumerStatus()
返回 消费状态
|
Date |
getConsumerTime()
返回 消费时间
|
String |
getMsgId()
返回 消息ID
|
String |
getMsgKey()
返回 消息的key
|
String |
getProducerId()
返回 生產者id
|
Integer |
getSendStatus()
返回 发送状态
|
Date |
getSendTime()
返回 发送时间
|
String |
getTag()
返回 消息的标志
|
String |
getTopic()
返回 消息主题
|
void |
setBody(byte[] body)
设置 消息体
|
void |
setConsumerId(String consumerId)
设置 消費者Id
|
void |
setConsumerStatus(Integer consumerStatus)
设置 消费状态
|
void |
setConsumerTime(Date consumerTime)
设置 消费时间
|
void |
setMsgId(String msgId)
设置 消息ID
|
void |
setMsgKey(String msgKey)
设置 消息的key
|
void |
setProducerId(String producerId)
设置 生產者id
|
void |
setSendStatus(Integer sendStatus)
设置 发送状态
|
void |
setSendTime(Date sendTime)
设置 发送时间
|
void |
setTag(String tag)
设置 消息的标志
|
void |
setTopic(String topic)
设置 消息主题
|
String |
toString() |
public String getMsgId()
public void setMsgId(String msgId)
msgId - 消息IDpublic String getTopic()
public void setTopic(String topic)
topic - 消息主题public String getTag()
public void setTag(String tag)
tag - 消息的标志public String getMsgKey()
public void setMsgKey(String msgKey)
msgKey - 消息的keypublic String getProducerId()
public void setProducerId(String producerId)
producerId - 生產者idpublic String getConsumerId()
public void setConsumerId(String consumerId)
consumerId - 消費者Idpublic Date getSendTime()
public void setSendTime(Date sendTime)
sendTime - 发送时间public Integer getSendStatus()
public void setSendStatus(Integer sendStatus)
sendStatus - 发送状态public Date getConsumerTime()
public void setConsumerTime(Date consumerTime)
consumerTime - 消费时间public Integer getConsumerStatus()
public void setConsumerStatus(Integer consumerStatus)
consumerStatus - 消费状态public byte[] getBody()
public void setBody(byte[] body)
body - 消息体Copyright © 2018. All rights reserved.