com.github.javaclub.mq.client.customer.message.SubMessage Maven / Gradle / Ivy
package com.github.javaclub.mq.client.customer.message;
public class SubMessage {
private String msgid;
private String topic;
private String subTopic;
private String key;
private byte[] body;
public String getMsgid() {
return msgid;
}
public void setMsgid(String msgid) {
this.msgid = msgid;
}
public String getTopic() {
return topic;
}
public void setTopic(String topic) {
this.topic = topic;
}
public String getSubTopic() {
return subTopic;
}
public void setSubTopic(String subTopic) {
this.subTopic = subTopic;
}
public String getKey() {
return key;
}
public void setKey(String key) {
this.key = key;
}
public byte[] getBody() {
return body;
}
public void setBody(byte[] body) {
this.body = body;
}
@Override
public String toString() {
return "SubMessage [msgid=" + msgid + ", topic=" + topic + ", subTopic=" + subTopic + ", key=" + key + "]";
}
}