public interface MqConsumer<T>
| 限定符和类型 | 方法和说明 |
|---|---|
void |
consume(BaseTopicType topic,
ConsumerHandler<T> handler)
消费 限制业务类型
|
void |
consume(String topic,
ConsumerHandler<T> handler)
消费
|
void consume(BaseTopicType topic, ConsumerHandler<T> handler)
topic - topichandler - handlervoid consume(String topic, ConsumerHandler<T> handler)
topic - topichandler - handlerCopyright © 2024. All rights reserved.