Class RedisQueueOutboundChannelAdapterSpec

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

public class RedisQueueOutboundChannelAdapterSpec extends org.springframework.integration.dsl.MessageHandlerSpec<RedisQueueOutboundChannelAdapterSpec, RedisQueueOutboundChannelAdapter>
A MessageHandlerSpec for a RedisQueueOutboundChannelAdapter.
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
    RedisQueueOutboundChannelAdapterSpec(String queueName, org.springframework.data.redis.connection.RedisConnectionFactory connectionFactory)
     
    protected
    RedisQueueOutboundChannelAdapterSpec(org.springframework.expression.Expression queueExpression, org.springframework.data.redis.connection.RedisConnectionFactory connectionFactory)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    extractPayload(boolean extractPayload)
    Specify send only the payload or the entire Message to the Redis queue.
    leftPush(boolean leftPush)
    Specify use "left push" or "right push" to write messages to the Redis Queue.
    serializer(org.springframework.data.redis.serializer.RedisSerializer<?> serializer)
    Specify the RedisSerializer to serialize data before sending to the Redis Queue.

    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