Class RedisStreamOutboundChannelAdapterSpec

java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<RedisStreamOutboundChannelAdapterSpec, org.springframework.integration.handler.ReactiveMessageHandlerAdapter>
org.springframework.integration.dsl.MessageHandlerSpec<RedisStreamOutboundChannelAdapterSpec, org.springframework.integration.handler.ReactiveMessageHandlerAdapter>
org.springframework.integration.dsl.ReactiveMessageHandlerSpec<RedisStreamOutboundChannelAdapterSpec, ReactiveRedisStreamMessageHandler>
org.springframework.integration.redis.dsl.RedisStreamOutboundChannelAdapterSpec
All Implemented Interfaces:
org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean<org.springframework.integration.handler.ReactiveMessageHandlerAdapter>, org.springframework.beans.factory.InitializingBean, org.springframework.context.Lifecycle, org.springframework.context.Phased, org.springframework.context.SmartLifecycle, org.springframework.integration.dsl.ComponentsRegistration

public class RedisStreamOutboundChannelAdapterSpec extends org.springframework.integration.dsl.ReactiveMessageHandlerSpec<RedisStreamOutboundChannelAdapterSpec, ReactiveRedisStreamMessageHandler>
A ReactiveMessageHandlerSpec for a ReactiveRedisStreamMessageHandler.
Since:
7.1
  • Field Summary

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

    reactiveMessageHandler

    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
    RedisStreamOutboundChannelAdapterSpec(org.springframework.data.redis.connection.ReactiveRedisConnectionFactory connectionFactory, String streamKey)
     
    protected
    RedisStreamOutboundChannelAdapterSpec(org.springframework.data.redis.connection.ReactiveRedisConnectionFactory connectionFactory, org.springframework.expression.Expression streamExpression)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    addOptionsFunction(Function<org.springframework.messaging.Message<?>, org.springframework.data.redis.connection.RedisStreamCommands.XAddOptions> addOptionsFunction)
    Specify the function to create a RedisStreamCommands.XAddOptions.
    extractPayload(boolean extractPayload)
    Specify whether extract payload.
    hashMapper(org.springframework.data.redis.hash.HashMapper<String,?,?> hashMapper)
    Specify the hashMapper for ReactiveStreamOperations.
    serializationContext(org.springframework.data.redis.serializer.RedisSerializationContext<String,?> serializationContext)
    Specify the serialization context.

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

    getComponentsToRegister

    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