クラス ReactiveMessageSourceProducer

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

public class ReactiveMessageSourceProducer extends MessageProducerSupport
導入:
5.3
作成者:
Artem Bilan
  • コンストラクターの詳細

    • ReactiveMessageSourceProducer

      public ReactiveMessageSourceProducer(MessageSource<?> messageSource)
      提供された MessageSource に基づいてインスタンスを作成します。
      パラメーター:
      messageSource - メッセージを取得する MessageSource
  • メソッドの詳細

    • setDelayWhenEmpty

      public void setDelayWhenEmpty(DurationSE delayWhenEmpty)
      前のプルリクエストが空のときに次のプルリクエストを遅らせるように DurationSE を設定します。デフォルトは IntegrationReactiveUtils.DEFAULT_DELAY_WHEN_EMPTY です。
      パラメーター:
      delayWhenEmpty - 使用する DurationSE
    • doStart

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