- java.lang.Object
-
- org.redkale.mq.spi.MessageAgent.MessageConsumerWrapper<T>
-
- 封闭类:
- MessageAgent
public static class MessageAgent.MessageConsumerWrapper<T> extends Object
-
-
构造器概要
构造器 构造器 说明 MessageConsumerWrapper(MessageAgent messageAgent, MessageConsumer<T> consumer, String regexTopic, ConvertType convertType)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 void
destroy(AnyValue config)
boolean
equals(Object obj)
MessageConsumer
getConsumer()
String
getRegexTopic()
int
hashCode()
void
init(AnyValue config)
Future
onMessage(List<MessageEvent<byte[]>> events)
-
-
-
构造器详细资料
-
MessageConsumerWrapper
public MessageConsumerWrapper(MessageAgent messageAgent, MessageConsumer<T> consumer, String regexTopic, ConvertType convertType)
-
-
方法详细资料
-
init
public void init(AnyValue config)
-
onMessage
public Future onMessage(List<MessageEvent<byte[]>> events)
-
getRegexTopic
public String getRegexTopic()
-
getConsumer
public MessageConsumer getConsumer()
-
destroy
public void destroy(AnyValue config)
-
-