クラス RedisInboundChannelAdapter

実装されたすべてのインターフェース:
AwareBeanFactoryAwareBeanNameAwareDisposableBeanInitializingBeanSmartInitializingSingletonApplicationContextAwareLifecyclePhasedSmartLifecycleExpressionCapableMessageProducerIntegrationPatternNamedComponentIntegrationInboundManagementIntegrationManagementManageableLifecycleManageableSmartLifecycleTrackableComponent

public class RedisInboundChannelAdapter extends MessageProducerSupport
導入:
2.1
作成者:
Mark Fisher, Oleg Zhurakousky, Gary Russell, Artem Bilan, Venil Noronha
  • コンストラクターの詳細

  • メソッドの詳細

    • setSerializer

      public void setSerializer(RedisSerializer<?> serializer)
    • setTopics

      public void setTopics(StringSE... topics)
    • setTopicPatterns

      public void setTopicPatterns(StringSE... topicPatterns)
    • setMessageConverter

      public void setMessageConverter(MessageConverter messageConverter)
    • setTaskExecutor

      public void setTaskExecutor(ExecutorSE taskExecutor)
      メッセージの受信時にメッセージリスナーを実行するために使用する ExecutorSE を指定します。
      パラメーター:
      taskExecutor - リスナーコンテナーに使用するエグゼキュータ。
      導入:
      4.3.13
      関連事項:
    • getComponentType

      public StringSE getComponentType()
      クラスからコピーされた説明: IntegrationObjectSupport
      サブクラスはこのメソッドを実装して、コンポーネント型情報を提供できます。
      次で指定:
      インターフェース NamedComponentgetComponentType 
      オーバーライド:
      クラス IntegrationObjectSupportgetComponentType 
    • onInit

      protected void onInit()
      クラスからコピーされた説明: IntegrationObjectSupport
      サブクラスは、初期化ロジック用にこれを実装できます。
      オーバーライド:
      クラス MessageProducerSupportonInit 
    • doStart

      protected void doStart()
      クラスからコピーされた説明: MessageProducerSupport
      デフォルトでは何も実行されません。ライフサイクル管理された動作が必要な場合、サブクラスはこれをオーバーライドできます。'lifecycleLock' によって保護されています。
      オーバーライド:
      クラス MessageProducerSupportdoStart 
    • doStop

      protected void doStop()
      クラスからコピーされた説明: MessageProducerSupport
      デフォルトでは何もしません。サブクラスは、ライフサイクル管理の動作が必要な場合、これをオーバーライドできます。
      オーバーライド:
      クラス MessageProducerSupportdoStop