クラス RedisOutboundChannelAdapterSpec
java.lang.ObjectSE
org.springframework.integration.dsl.IntegrationComponentSpec<RedisOutboundChannelAdapterSpec, RedisPublishingMessageHandler>
org.springframework.integration.dsl.MessageHandlerSpec<RedisOutboundChannelAdapterSpec, RedisPublishingMessageHandler>
org.springframework.integration.redis.dsl.RedisOutboundChannelAdapterSpec
- 実装済みのインターフェース一覧:
DisposableBean, FactoryBean<RedisPublishingMessageHandler>, InitializingBean, Lifecycle, Phased, SmartLifecycle
public class RedisOutboundChannelAdapterSpec
extends MessageHandlerSpec<RedisOutboundChannelAdapterSpec, RedisPublishingMessageHandler>
- 導入:
- 7.1
- 作成者:
- Jiandong Ma
フィールド概要
クラス IntegrationComponentSpec から継承されたフィールド
logger, PARSER, targetインターフェース FactoryBean から継承されたフィールド
OBJECT_TYPE_ATTRIBUTEインターフェース SmartLifecycle から継承されたフィールド
DEFAULT_PHASEコンストラクター概要
コンストラクター方法の概要
修飾子と型メソッド説明messageConverter(MessageConverter messageConverter) Redis メッセージと Spring メッセージペイロード間の変換を行うには、messageConverter を指定します。serializer(RedisSerializer<?> serializer) RedisSerializer に対して、Redis に送信する前にデータを直列化するように指定します。メッセージを公開するトピックを指定してください。topicExpression(StringSE topicExpression) トピックを決定するための SpEL 式を設定します。topicExpression(Expression topicExpression) トピックを特定するには、topicExpression を指定してください。topicFunction(FunctionSE<Message<P>, StringSE> topicFunction) トピックを決定するためにFunctionSE を設定します。クラス 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
コンストラクターの詳細
RedisOutboundChannelAdapterSpec
方法の詳細
serializer
RedisSerializer に対して、Redis に送信する前にデータを直列化するように指定します。- パラメーター:
serializer- シリアライザー- 戻り値:
- スペック
- 関連事項:
messageConverter
Redis メッセージと Spring メッセージペイロード間の変換を行うには、messageConverter を指定します。- パラメーター:
messageConverter- messageConverter- 戻り値:
- スペック
- 関連事項:
topic
メッセージを公開するトピックを指定してください。- パラメーター:
topic- トピック- 戻り値:
- スペック
- 関連事項:
topicExpression
トピックを特定するには、topicExpression を指定してください。- パラメーター:
topicExpression- topicExpression- 戻り値:
- スペック
- 関連事項:
topicExpression
トピックを決定するための SpEL 式を設定します。- パラメーター:
topicExpression- topicExpression- 戻り値:
- スペック
- 関連事項:
topicFunction
public <P> RedisOutboundChannelAdapterSpec topicFunction(FunctionSE<Message<P>, StringSE> topicFunction) トピックを決定するためにFunctionSE を設定します。- 型パラメーター:
P- ペイロード型。- パラメーター:
topicFunction- topicFunction- 戻り値:
- スペック