| 限定符和类型 | 字段和说明 |
|---|---|
protected MqClientInternal |
clientInternal |
protected org.noear.socketd.transport.core.Message |
from |
| 构造器和说明 |
|---|
MqMessageDefault(MqClientInternal clientInternal,
org.noear.socketd.transport.core.Message from) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
acknowledge(boolean isOk)
回执
|
String |
getConsumer() |
String |
getContent()
内容
|
int |
getQos()
质量等级(0 或 1)
|
String |
getTid()
事务ID
|
int |
getTimes()
已派发次数
|
String |
getTopic()
主题
|
String |
toString() |
protected final transient MqClientInternal clientInternal
protected final transient org.noear.socketd.transport.core.Message from
public MqMessageDefault(MqClientInternal clientInternal, org.noear.socketd.transport.core.Message from)
public String getConsumer()
public String getContent()
getContent 在接口中 MqMessagepublic void acknowledge(boolean isOk)
throws IOException
acknowledge 在接口中 MqMessageIOExceptionCopyright © 2023. All rights reserved.