クラス SyslogReceivingChannelAdapterSupport

実装されたすべてのインターフェース:
AwareBeanFactoryAwareBeanNameAwareDisposableBeanInitializingBeanSmartInitializingSingletonApplicationContextAwareLifecyclePhasedSmartLifecycleComponentSourceAwareExpressionCapableMessageProducerIntegrationPatternNamedComponentIntegrationInboundManagementIntegrationManagementManageableLifecycleManageableSmartLifecycleTrackableComponent
既知の直属サブクラス
TcpSyslogReceivingChannelAdapterUdpSyslogReceivingChannelAdapter

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

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

    • SyslogReceivingChannelAdapterSupport

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

    • 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)