Class RedisInboundChannelAdapterSpec

java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<RedisInboundChannelAdapterSpec, RedisInboundChannelAdapter>
org.springframework.integration.dsl.MessageProducerSpec<RedisInboundChannelAdapterSpec, RedisInboundChannelAdapter>
org.springframework.integration.redis.dsl.RedisInboundChannelAdapterSpec
All Implemented Interfaces:
org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean<RedisInboundChannelAdapter>, org.springframework.beans.factory.InitializingBean, org.springframework.context.Lifecycle, org.springframework.context.Phased, org.springframework.context.SmartLifecycle

public class RedisInboundChannelAdapterSpec extends org.springframework.integration.dsl.MessageProducerSpec<RedisInboundChannelAdapterSpec, RedisInboundChannelAdapter>
A MessageProducerSpec for a RedisInboundChannelAdapter.
Since:
7.1
  • Field Summary

    Fields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec

    logger, PARSER, target

    Fields inherited from interface org.springframework.beans.factory.FactoryBean

    OBJECT_TYPE_ATTRIBUTE

    Fields inherited from interface org.springframework.context.SmartLifecycle

    DEFAULT_PHASE
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    RedisInboundChannelAdapterSpec(org.springframework.data.redis.connection.RedisConnectionFactory connectionFactory)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    messageConverter(org.springframework.messaging.converter.MessageConverter messageConverter)
    Specify the messageConverter to convert between Redis messages and Spring message payloads.
    serializer(org.springframework.data.redis.serializer.RedisSerializer<?> serializer)
    Specify the RedisSerializer to deserialize the body of Redis messages.
    taskExecutor(Executor taskExecutor)
    Specify an Executor for running the message listeners when messages are received.
    topicPatterns(String... topicPatterns)
    Specify the topicPatterns to subscribe.
    topics(String... topics)
    Specify the topics to subscribe.

    Methods inherited from class org.springframework.integration.dsl.MessageProducerSpec

    autoStartup, errorChannel, errorChannel, errorMessageStrategy, id, observationConvention, outputChannel, outputChannel, phase, role, sendTimeout, shouldTrack

    Methods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec

    _this, afterPropertiesSet, destroy, doGet, getId, getObject, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stop

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.beans.factory.FactoryBean

    isSingleton

    Methods inherited from interface org.springframework.context.SmartLifecycle

    isPauseable, pause, restart