Class RedisOutboundChannelAdapterSpec

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

public class RedisOutboundChannelAdapterSpec extends org.springframework.integration.dsl.MessageHandlerSpec<RedisOutboundChannelAdapterSpec, RedisPublishingMessageHandler>
A MessageHandlerSpec for a RedisPublishingMessageHandler.
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
    RedisOutboundChannelAdapterSpec(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 serialize data before sending to the Redis.
    topic(String topic)
    Specify the topic to publish messages.
    topicExpression(String topicExpression)
    Configure a SpEL expression to determine the topic.
    topicExpression(org.springframework.expression.Expression topicExpression)
    Specify the topicExpression to determine the topic.
    topicFunction(Function<org.springframework.messaging.Message<P>, String> topicFunction)
    Configure a Function to determine the topic.

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

    _this, afterPropertiesSet, destroy, doGet, getId, getObject, getObjectType, getPhase, id, 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