Example usage for Java org.springframework.data.redis.listener RedisMessageListenerContainer fields, constructors, methods, implement or subclass
The text is from its open source code.
void | addMessageListener(MessageListener listener, Collection extends Topic> topics) Adds a message listener to the (potentially running) container. |
void | addMessageListener(MessageListener listener, Topic topic) Adds a message listener to the (potentially running) container. |
void | afterPropertiesSet() |
void | destroy() |
boolean | isActive() Return whether this container is currently active, that is, whether it has been set up but not shut down yet. |
void | setBeanName(String name) |
void | setConnectionFactory(RedisConnectionFactory connectionFactory) |
void | setSubscriptionExecutor(Executor subscriptionExecutor) Sets the task execution used for subscribing to Redis channels. |
void | setTaskExecutor(Executor taskExecutor) Sets the task executor used for running the message listeners when messages are received. |
void | start() |
void | stop() |