Class RedisListenerMethodProcessor

java.lang.Object
io.micronaut.configuration.lettuce.pubsub.processor.RedisListenerMethodProcessor
All Implemented Interfaces:
io.micronaut.context.processor.ExecutableMethodProcessor<MessageChannel>

@Singleton @Requires(beans=AbstractRedisConfiguration.class) public class RedisListenerMethodProcessor extends Object implements io.micronaut.context.processor.ExecutableMethodProcessor<MessageChannel>
Registers Redis Pub/Sub listener methods.
Since:
7.0
Author:
Graeme Rocher
  • Constructor Details

    • RedisListenerMethodProcessor

      public RedisListenerMethodProcessor(io.micronaut.context.BeanContext beanContext, RedisBinderRegistry binderRegistry, RedisPubSubListenerRegistry listenerRegistry, RedisMessageBodyHandler messageBodyHandler)
      Parameters:
      beanContext - The bean context
      binderRegistry - The binder registry
      listenerRegistry - The listener registry
      messageBodyHandler - The message body handler
  • Method Details

    • process

      public <B> void process(io.micronaut.inject.BeanDefinition<B> beanDefinition, io.micronaut.inject.ExecutableMethod<B,?> method)
      Specified by:
      process in interface io.micronaut.context.processor.ExecutableMethodProcessor<MessageChannel>