クラス RedisStreamOutboundChannelAdapterSpec
java.lang.ObjectSE
org.springframework.integration.dsl.IntegrationComponentSpec<RedisStreamOutboundChannelAdapterSpec, ReactiveMessageHandlerAdapter>
org.springframework.integration.dsl.MessageHandlerSpec<RedisStreamOutboundChannelAdapterSpec, ReactiveMessageHandlerAdapter>
org.springframework.integration.dsl.ReactiveMessageHandlerSpec<RedisStreamOutboundChannelAdapterSpec, ReactiveRedisStreamMessageHandler>
org.springframework.integration.redis.dsl.RedisStreamOutboundChannelAdapterSpec
- 実装済みのインターフェース一覧:
DisposableBean, FactoryBean<ReactiveMessageHandlerAdapter>, InitializingBean, Lifecycle, Phased, SmartLifecycle, ComponentsRegistration
public class RedisStreamOutboundChannelAdapterSpec
extends ReactiveMessageHandlerSpec<RedisStreamOutboundChannelAdapterSpec, ReactiveRedisStreamMessageHandler>
- 導入:
- 7.1
- 作成者:
- Jiandong Ma
フィールド概要
クラス ReactiveMessageHandlerSpec から継承されたフィールド
reactiveMessageHandlerクラス IntegrationComponentSpec から継承されたフィールド
logger, PARSER, targetインターフェース FactoryBean から継承されたフィールド
OBJECT_TYPE_ATTRIBUTEインターフェース SmartLifecycle から継承されたフィールド
DEFAULT_PHASEコンストラクター概要
コンストラクター修飾子コンストラクター説明protectedRedisStreamOutboundChannelAdapterSpec(ReactiveRedisConnectionFactory connectionFactory, StringSE streamKey) protectedRedisStreamOutboundChannelAdapterSpec(ReactiveRedisConnectionFactory connectionFactory, Expression streamExpression) 方法の概要
修飾子と型メソッド説明addOptionsFunction(FunctionSE<Message<?>, RedisStreamCommands.XAddOptions> addOptionsFunction) RedisStreamCommands.XAddOptionsを作成する関数を指定します。extractPayload(boolean extractPayload) ペイロードを抽出するかどうかを指定します。hashMapper(HashMapper<StringSE, ?, ?> hashMapper) ReactiveStreamOperationsには hashMapper を指定してください。serializationContext(RedisSerializationContext<StringSE, ?> serializationContext) 直列化コンテキストを指定します。クラス ReactiveMessageHandlerSpec から継承されたメソッド
getComponentsToRegisterクラス IntegrationComponentSpec から継承されたメソッド
_this, afterPropertiesSet, destroy, doGet, getId, getObject, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stopクラス ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSEインターフェース FactoryBean から継承されたメソッド
isSingletonインターフェース SmartLifecycle から継承されたメソッド
isPauseable
コンストラクターの詳細
RedisStreamOutboundChannelAdapterSpec
protected RedisStreamOutboundChannelAdapterSpec(ReactiveRedisConnectionFactory connectionFactory, StringSE streamKey) RedisStreamOutboundChannelAdapterSpec
protected RedisStreamOutboundChannelAdapterSpec(ReactiveRedisConnectionFactory connectionFactory, Expression streamExpression)
方法の詳細
serializationContext
public RedisStreamOutboundChannelAdapterSpec serializationContext(RedisSerializationContext<StringSE, ?> serializationContext) 直列化コンテキストを指定します。- パラメーター:
serializationContext- serializationContext- 戻り値:
- スペック
- 関連事項:
hashMapper
ReactiveStreamOperationsには hashMapper を指定してください。- パラメーター:
hashMapper- hashMapper- 戻り値:
- スペック
- 関連事項:
extractPayload
ペイロードを抽出するかどうかを指定します。- パラメーター:
extractPayload- extractPayload- 戻り値:
- スペック
- 関連事項:
addOptionsFunction
public RedisStreamOutboundChannelAdapterSpec addOptionsFunction(FunctionSE<Message<?>, RedisStreamCommands.XAddOptions> addOptionsFunction) RedisStreamCommands.XAddOptionsを作成する関数を指定します。- パラメーター:
addOptionsFunction- addOptionsFunction- 戻り値:
- スペック
- 関連事項: