org.apache.rocketmq.client.consumer.listener.MessageListener Java Examples

The following examples show how to use org.apache.rocketmq.client.consumer.listener.MessageListener. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: DefaultMQPushConsumer.java    From rocketmq-read with Apache License 2.0 5 votes vote down vote up
/**
 * 下面三个方法都是注册MessageListener
 * @param messageListener ;
 */
@Override
@Deprecated
public void registerMessageListener(MessageListener messageListener) {
    this.messageListener = messageListener;
    this.defaultMQPushConsumerImpl.registerMessageListener(messageListener);
}
 
Example #2
Source File: DefaultMQPushConsumerImpl.java    From rocketmq-all-4.1.0-incubating with Apache License 2.0 4 votes vote down vote up
public MessageListener getMessageListenerInner() {
    return messageListenerInner;
}
 
Example #3
Source File: DefaultMQPushConsumerImpl.java    From rocketmq with Apache License 2.0 4 votes vote down vote up
public MessageListener getMessageListenerInner() {
    return messageListenerInner;
}
 
Example #4
Source File: DefaultMQPushConsumer.java    From DDMQ with Apache License 2.0 4 votes vote down vote up
public MessageListener getMessageListener() {
    return messageListener;
}
 
Example #5
Source File: DefaultMQPushConsumer.java    From DDMQ with Apache License 2.0 4 votes vote down vote up
public void setMessageListener(MessageListener messageListener) {
    this.messageListener = messageListener;
}
 
Example #6
Source File: DefaultMQPushConsumer.java    From DDMQ with Apache License 2.0 4 votes vote down vote up
@Override
@Deprecated
public void registerMessageListener(MessageListener messageListener) {
    this.messageListener = messageListener;
    this.defaultMQPushConsumerImpl.registerMessageListener(messageListener);
}
 
Example #7
Source File: DefaultMQPushConsumerImpl.java    From DDMQ with Apache License 2.0 4 votes vote down vote up
public void registerMessageListener(MessageListener messageListener) {
    this.messageListenerInner = messageListener;
}
 
Example #8
Source File: DefaultMQPushConsumerImpl.java    From DDMQ with Apache License 2.0 4 votes vote down vote up
public MessageListener getMessageListenerInner() {
    return messageListenerInner;
}
 
Example #9
Source File: DefaultMQPushConsumer.java    From rocketmq-all-4.1.0-incubating with Apache License 2.0 4 votes vote down vote up
public MessageListener getMessageListener() {
    return messageListener;
}
 
Example #10
Source File: DefaultMQPushConsumer.java    From rocketmq-all-4.1.0-incubating with Apache License 2.0 4 votes vote down vote up
public void setMessageListener(MessageListener messageListener) {
    this.messageListener = messageListener;
}
 
Example #11
Source File: DefaultMQPushConsumer.java    From rocketmq-all-4.1.0-incubating with Apache License 2.0 4 votes vote down vote up
@Override
@Deprecated
public void registerMessageListener(MessageListener messageListener) {
    this.messageListener = messageListener;
    this.defaultMQPushConsumerImpl.registerMessageListener(messageListener);
}
 
Example #12
Source File: DefaultMQPushConsumerImpl.java    From rocketmq-all-4.1.0-incubating with Apache License 2.0 4 votes vote down vote up
public void registerMessageListener(MessageListener messageListener) {
    this.messageListenerInner = messageListener;
}
 
Example #13
Source File: DefaultMQPushConsumer.java    From DDMQ with Apache License 2.0 4 votes vote down vote up
public MessageListener getMessageListener() {
    return messageListener;
}
 
Example #14
Source File: DefaultMQPushConsumer.java    From rocketmq_trans_message with Apache License 2.0 4 votes vote down vote up
public MessageListener getMessageListener() {
    return messageListener;
}
 
Example #15
Source File: DefaultMQPushConsumer.java    From rocketmq_trans_message with Apache License 2.0 4 votes vote down vote up
public void setMessageListener(MessageListener messageListener) {
    this.messageListener = messageListener;
}
 
Example #16
Source File: DefaultMQPushConsumer.java    From rocketmq_trans_message with Apache License 2.0 4 votes vote down vote up
@Override
@Deprecated
public void registerMessageListener(MessageListener messageListener) {
    this.messageListener = messageListener;
    this.defaultMQPushConsumerImpl.registerMessageListener(messageListener);
}
 
Example #17
Source File: DefaultMQPushConsumerImpl.java    From rocketmq_trans_message with Apache License 2.0 4 votes vote down vote up
public void registerMessageListener(MessageListener messageListener) {
    this.messageListenerInner = messageListener;
}
 
Example #18
Source File: DefaultMQPushConsumerImpl.java    From rocketmq_trans_message with Apache License 2.0 4 votes vote down vote up
public MessageListener getMessageListenerInner() {
    return messageListenerInner;
}
 
Example #19
Source File: DefaultMQPushConsumer.java    From rocketmq with Apache License 2.0 4 votes vote down vote up
public MessageListener getMessageListener() {
    return messageListener;
}
 
Example #20
Source File: DefaultMQPushConsumer.java    From rocketmq with Apache License 2.0 4 votes vote down vote up
public void setMessageListener(MessageListener messageListener) {
    this.messageListener = messageListener;
}
 
Example #21
Source File: DefaultMQPushConsumer.java    From rocketmq with Apache License 2.0 4 votes vote down vote up
@Override
@Deprecated
public void registerMessageListener(MessageListener messageListener) {
    this.messageListener = messageListener;
    this.defaultMQPushConsumerImpl.registerMessageListener(messageListener);
}
 
Example #22
Source File: DefaultMQPushConsumerImpl.java    From rocketmq with Apache License 2.0 4 votes vote down vote up
public void registerMessageListener(MessageListener messageListener) {
    this.messageListenerInner = messageListener;
}
 
Example #23
Source File: DefaultMQPushConsumerImpl.java    From rocketmq with Apache License 2.0 4 votes vote down vote up
public MessageListener getMessageListenerInner() {
    return messageListenerInner;
}
 
Example #24
Source File: DefaultMQPushConsumer.java    From rocketmq-read with Apache License 2.0 4 votes vote down vote up
public MessageListener getMessageListener() {
    return messageListener;
}
 
Example #25
Source File: DefaultMQPushConsumerImpl.java    From DDMQ with Apache License 2.0 4 votes vote down vote up
public MessageListener getMessageListenerInner() {
    return messageListenerInner;
}
 
Example #26
Source File: DefaultMQPushConsumerImpl.java    From DDMQ with Apache License 2.0 4 votes vote down vote up
public void registerMessageListener(MessageListener messageListener) {
    this.messageListenerInner = messageListener;
}
 
Example #27
Source File: DefaultMQPushConsumer.java    From rocketmq-4.3.0 with Apache License 2.0 4 votes vote down vote up
public MessageListener getMessageListener() {
    return messageListener;
}
 
Example #28
Source File: DefaultMQPushConsumer.java    From rocketmq-4.3.0 with Apache License 2.0 4 votes vote down vote up
public void setMessageListener(MessageListener messageListener) {
    this.messageListener = messageListener;
}
 
Example #29
Source File: DefaultMQPushConsumer.java    From rocketmq-4.3.0 with Apache License 2.0 4 votes vote down vote up
@Override
@Deprecated
public void registerMessageListener(MessageListener messageListener) {
    this.messageListener = messageListener;
    this.defaultMQPushConsumerImpl.registerMessageListener(messageListener);
}
 
Example #30
Source File: DefaultMQPushConsumerImpl.java    From rocketmq-4.3.0 with Apache License 2.0 4 votes vote down vote up
public void registerMessageListener(MessageListener messageListener) {
    this.messageListenerInner = messageListener;
}