クラス SyslogReceivingChannelAdapterSupport
java.lang.ObjectSE
org.springframework.integration.context.IntegrationObjectSupport
org.springframework.integration.endpoint.AbstractEndpoint
org.springframework.integration.endpoint.MessageProducerSupport
org.springframework.integration.syslog.inbound.SyslogReceivingChannelAdapterSupport
- 実装されたすべてのインターフェース:
Aware
、BeanFactoryAware
、BeanNameAware
、DisposableBean
、InitializingBean
、SmartInitializingSingleton
、ApplicationContextAware
、Lifecycle
、Phased
、SmartLifecycle
、ComponentSourceAware
、ExpressionCapable
、MessageProducer
、IntegrationPattern
、NamedComponent
、IntegrationInboundManagement
、IntegrationManagement
、ManageableLifecycle
、ManageableSmartLifecycle
、TrackableComponent
受信チャネルアダプターの基本サポートクラス。デフォルトのポートは 514 です。
- 導入:
- 3.0
- 作成者:
- Gary Russell, Ngoc Nhan
ネストされたクラスのサマリー
インターフェース org.springframework.integration.support.management.IntegrationManagement から継承されたネストクラス / インターフェース
IntegrationManagement.ManagementOverrides
フィールドのサマリー
フィールドクラス org.springframework.integration.endpoint.AbstractEndpoint から継承されたフィールド
lifecycleLock
クラス org.springframework.integration.context.IntegrationObjectSupport から継承されたフィールド
EXPRESSION_PARSER, logger
インターフェース org.springframework.integration.support.management.IntegrationManagement から継承されたフィールド
METER_PREFIX, RECEIVE_COUNTER_NAME, SEND_TIMER_NAME
インターフェース org.springframework.context.SmartLifecycle から継承されたフィールド
DEFAULT_PHASE
コンストラクターの概要
コンストラクターメソッドのサマリー
修飾子と型メソッド説明protected void
convertAndSend
(Message<?> message) protected int
getPort()
protected void
onInit()
サブクラスは、初期化ロジック用にこれを実装できます。void
setConverter
(MessageConverter converter) 基になる UDP/TCP メッセージのバイト配列ペイロードを、デコードされたペイロードとヘッダーを含む Spring Integration メッセージに変換するMessageConverter
。デフォルトはDefaultMessageConverter
です。void
setPort
(int port) アダプターがリッスンするポートを設定します。デフォルトは 514 です。RFC は TCP の既知のポートを指定していないことに注意してください。514 は UDP のよく知られたポートです。クラス org.springframework.integration.endpoint.MessageProducerSupport から継承されたメソッド
afterSingletonsInstantiated, buildErrorMessage, doStart, doStop, getErrorChannel, getErrorMessageAttributes, getErrorMessageStrategy, getIntegrationPatternType, getMessagingTemplate, getOutputChannel, getRequiredOutputChannel, isObserved, registerObservationRegistry, sendErrorMessageIfNecessary, sendMessage, setErrorChannel, setErrorChannelName, setErrorMessageStrategy, setObservationConvention, setOutputChannel, setOutputChannelName, setSendTimeout, setShouldTrack, subscribeToPublisher
クラス org.springframework.integration.endpoint.AbstractEndpoint から継承されたメソッド
destroy, doStop, getPhase, getRole, isActive, isAutoStartup, isRunning, setAutoStartup, setPhase, setRole, start, stop, stop
クラス org.springframework.integration.context.IntegrationObjectSupport から継承されたメソッド
afterPropertiesSet, extractTypeIfPossible, generateId, getApplicationContext, getApplicationContextId, getBeanDescription, getBeanFactory, getBeanName, getChannelResolver, getComponentDescription, getComponentName, getComponentSource, getComponentType, getConversionService, getExpression, getIntegrationProperties, getMessageBuilderFactory, getTaskScheduler, isInitialized, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentDescription, setComponentName, setComponentSource, setConversionService, setMessageBuilderFactory, setPrimaryExpression, setTaskScheduler, toString
クラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, wait, waitSE, waitSE
インターフェース org.springframework.integration.support.management.IntegrationManagement から継承されたメソッド
destroy, getManagedName, getManagedType, getOverrides, getThisAs, isLoggingEnabled, registerMetricsCaptor, setLoggingEnabled, setManagedName, setManagedType
インターフェース org.springframework.integration.support.context.NamedComponent から継承されたメソッド
getBeanName, getComponentName, getComponentType
フィールドの詳細
DEFAULT_PORT
protected static final int DEFAULT_PORT- 関連事項:
コンストラクターの詳細
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
基になる UDP/TCP メッセージのバイト配列ペイロードを、デコードされたペイロードとヘッダーを含む Spring Integration メッセージに変換するMessageConverter
。デフォルトはDefaultMessageConverter
です。- パラメーター:
converter
- コンバーター。
onInit
protected void onInit()クラスからコピーされた説明:IntegrationObjectSupport
サブクラスは、初期化ロジック用にこれを実装できます。- オーバーライド:
- クラス
MessageProducerSupport
のonInit
convertAndSend