クラスの使用
org.springframework.integration.redis.dsl.RedisQueueInboundChannelAdapterSpec
RedisQueueInboundChannelAdapterSpec を使用するパッケージ
org.springframework.integration.redis.dsl 内の RedisQueueInboundChannelAdapterSpec 使用
修飾子と型メソッド説明RedisQueueInboundChannelAdapterSpec.expectMessage(boolean expectMessage) Redis キューからのデータにメッセージインスタンス全体が含まれることを想定しているかどうかを指定します。Redis.queueInboundChannelAdapter(StringSE queueName, RedisConnectionFactory connectionFactory) RedisQueueInboundChannelAdapterSpecを製造するファクトリ。RedisQueueInboundChannelAdapterSpec.receiveDuration(DurationSE receiveTimeout) Redis キューから Redis メッセージを待機する "pop" 操作のタイムアウトを指定します。RedisQueueInboundChannelAdapterSpec.receiveTimeout(long receiveTimeout) Redis キューから Redis メッセージを待機する "pop" 操作のタイムアウトを指定します。RedisQueueInboundChannelAdapterSpec.recoveryInterval(long recoveryInterval) "pop" 操作で例外が発生した後、基となるリスニングタスクがスリープする時間をミリ秒単位で指定します。RedisQueueInboundChannelAdapterSpec.rightPop(boolean rightPop) Redis キューからメッセージを読み取るには、"right pop" または "left pop" を指定してください。RedisQueueInboundChannelAdapterSpec.serializer(RedisSerializer<?> serializer) Redis メッセージの本文を逆直列化するには、RedisSerializer を指定します。RedisQueueInboundChannelAdapterSpec.taskExecutor(ExecutorSE taskExecutor) 基となるリスニングタスクには、ExecutorSE を指定してください。