クラス StompInboundChannelAdapter

実装済みのインターフェース一覧:
Aware, BeanFactoryAware, BeanNameAware, DisposableBean, InitializingBean, SmartInitializingSingleton, ApplicationContextAware, ApplicationEventPublisherAware, Lifecycle, Phased, SmartLifecycle, ComponentSourceAware, ExpressionCapable, MessageProducer, IntegrationPattern, NamedComponent, IntegrationInboundManagement, IntegrationManagement, ManageableLifecycle, ManageableSmartLifecycle, TrackableComponent

提供された宛先からの STOMP フレームを処理し、outputChannel にメッセージを送信するための MessageProducerSupport forSTOMP プロトコル。

宛先は実行時に追加および削除できます。

StompSessionManager が autoReceiptEnabled をサポートしている場合、StompReceiptEvent は Subscribe STOMP frame ごとに発行されます。

導入:
4.2
作成者:
Artem Bilan, Gary Russell, Trung Pham
  • コンストラクターの詳細

  • 方法の詳細

    • setPayloadType

      public void setPayloadType(ClassSE<?> payloadType)
    • setHeaderMapper

      public void setHeaderMapper(HeaderMapper<StompHeaders> headerMapper)
    • setApplicationEventPublisher

      public void setApplicationEventPublisher(ApplicationEventPublisher applicationEventPublisher)
      次で指定:
      インターフェース ApplicationEventPublisherAware 内の setApplicationEventPublisher 
    • getDestinations

      @ManagedAttribute public StringSE[] getDestinations()
    • addDestination

      @ManagedOperation public void addDestination(StringSE... destination)
      サブスクライブリストに 1 つまたは複数の宛先を追加してサブスクライブします。
      パラメーター:
      destination - 宛先。
    • removeDestination

      @ManagedOperation public void removeDestination(StringSE... destination)
      サブスクライブリストから 1 つまたは複数の宛先を削除し、サブスクライブを解除します。
      パラメーター:
      destination - 宛先。
    • getComponentType

      public StringSE getComponentType()
      次で指定:
      インターフェース NamedComponent 内の getComponentType 
      オーバーライド:
      クラス MessageProducerSupportgetComponentType 
    • doStart

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

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