クラス SyslogReceivingChannelAdapterSupport

実装済みのインターフェース一覧:
AwareBeanFactoryAwareBeanNameAwareDisposableBeanInitializingBeanSmartInitializingSingletonApplicationContextAwareApplicationEventPublisherAwareLifecyclePhasedSmartLifecycleComponentSourceAwareExpressionCapableMessageProducerIntegrationPatternNamedComponentIntegrationInboundManagementIntegrationManagementManageableLifecycleManageableSmartLifecycleTrackableComponent
既知の直属サブクラス
TcpSyslogReceivingChannelAdapterUdpSyslogReceivingChannelAdapter

public abstract class SyslogReceivingChannelAdapterSupport extends MessageProducerSupport implements ApplicationEventPublisherAware
受信チャネルアダプターの基本サポートクラス。デフォルトのポートは 514 です。
導入:
3.0
作成者:
Gary Russell, Ngoc Nhan, Artem Bilan
  • フィールドの詳細

  • コンストラクターの詳細

    • SyslogReceivingChannelAdapterSupport

      public SyslogReceivingChannelAdapterSupport()
  • メソッドの詳細

    • setApplicationEventPublisher

      public void setApplicationEventPublisher(ApplicationEventPublisher applicationEventPublisher)
      次で指定:
      インターフェース ApplicationEventPublisherAwaresetApplicationEventPublisher 
    • getApplicationEventPublisher

      protected ApplicationEventPublisher getApplicationEventPublisher()
    • getPort

      protected int getPort()
      戻り値:
      このアダプターがリッスンするポート。
    • setPort

      public void setPort(int port)
      アダプターがリッスンするポートを設定します。デフォルトは 514 です。RFC は TCP の既知のポートを指定していないことに注意してください。514 は UDP のよく知られたポートです。多くの管理者は TCP にも 514 を使用しています。TCP の詳細については RFC-6587 を、UDP の詳細については RFC-3164/5424 を参照してください。
      パラメーター:
      port - ポート。
    • setConverter

      public void setConverter(MessageConverter converter)
      基になる UDP/TCP メッセージのバイト配列ペイロードを、デコードされたペイロードとヘッダーを含む Spring Integration メッセージに変換する MessageConverter。デフォルトは DefaultMessageConverter です。
      パラメーター:
      converter - コンバーター。
    • onInit

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

      protected void convertAndSend(Message<?> message)