public interface MqMessageReceived extends MqMessageBase
| 限定符和类型 | 方法和说明 |
|---|---|
void |
acknowledge(boolean isOk)
回执
|
String |
getBodyAsString()
数据
|
String |
getConsumerGroup()
消费者组
|
default String |
getContent()
已过时。
1.4
|
int |
getTimes()
已派发次数
|
String |
getTopic()
主题
|
void |
response(org.noear.socketd.transport.core.Entity entity)
响应
|
getAttr, getBody, getExpiration, getKey, getQos, getSender, getTag, getTid, isSequence, isTransactionString getTopic()
@Deprecated default String getContent()
String getBodyAsString()
String getConsumerGroup()
int getTimes()
void acknowledge(boolean isOk)
throws IOException
IOExceptionvoid response(org.noear.socketd.transport.core.Entity entity)
throws IOException
IOExceptionCopyright © 2024. All rights reserved.