クラス RemoteFileStreamingInboundChannelAdapterSpec<F, S extends RemoteFileStreamingInboundChannelAdapterSpec<F,S,MS>, MS extends AbstractRemoteFileStreamingMessageSource<F>>
java.lang.ObjectSE
org.springframework.integration.dsl.IntegrationComponentSpec<S,MS>
org.springframework.integration.dsl.MessageSourceSpec<S,MS>
org.springframework.integration.file.dsl.RemoteFileStreamingInboundChannelAdapterSpec<F,S,MS>
- 型パラメーター:
F- ターゲットファイル型。S- ターゲットRemoteFileStreamingInboundChannelAdapterSpec実装型。MS- ターゲットAbstractRemoteFileStreamingMessageSource実装型。
- 実装済みのインターフェース一覧:
DisposableBean、FactoryBean<MS>、InitializingBean、Lifecycle、Phased、SmartLifecycle、ComponentsRegistration
- 既知の直属サブクラス
FtpStreamingInboundChannelAdapterSpec、SftpStreamingInboundChannelAdapterSpec、SmbStreamingInboundChannelAdapterSpec
public abstract class RemoteFileStreamingInboundChannelAdapterSpec<F, S extends RemoteFileStreamingInboundChannelAdapterSpec<F,S,MS>, MS extends AbstractRemoteFileStreamingMessageSource<F>>
extends MessageSourceSpec<S,MS>
implements ComponentsRegistration
- 導入:
- 5.0
- 作成者:
- Gary Russell
フィールド概要
クラス org.springframework.integration.dsl.IntegrationComponentSpec から継承されたフィールド
logger, PARSER, targetインターフェース org.springframework.beans.factory.FactoryBean から継承されたフィールド
OBJECT_TYPE_ATTRIBUTEインターフェース org.springframework.context.SmartLifecycle から継承されたフィールド
DEFAULT_PHASEコンストラクター概要
コンストラクター方法の概要
修飾子と型メソッド説明filter(FileListFilter<F> filter) FileListFilterをコピーする前に、リモートファイルに適用するように構成します。filterExpression(StringSE expression) ExpressionFileListFilterを構成します。filterFunction(FunctionSE<F, BooleanSE> filterFunction) ExpressionFileListFilterを構成します。maxFetchSize(int maxFetchSize) フェッチの試行ごとにフェッチされるリモートファイルの最大数を指定します。abstract SpatternFilter(StringSE pattern) 単純なパターンフィルターを構成します(例:abstract SregexFilter(StringSE regex) 正規表現パターンフィルターを構成します(例:remoteDirectory(StringSE remoteDirectory) リモートディレクトリへの絶対パスを指定します。remoteDirectory(FunctionSE<Message<?>, StringSE> remoteDirectoryFunction) リモートディレクトリへの絶対パスを判別するために呼び出される関数を指定してください。remoteDirectory(Expression remoteDirectoryExpression) リモートディレクトリへの絶対パスに評価される式を指定します。remoteFileSeparator(StringSE remoteFileSeparator) リモートシステムで使用されるファイル名パス区切り文字を構成します。クラス org.springframework.integration.dsl.MessageSourceSpec から継承されたメソッド
messageHeadersクラス org.springframework.integration.dsl.IntegrationComponentSpec から継承されたメソッド
_this, afterPropertiesSet, destroy, doGet, getId, getObject, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stopクラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSEインターフェース org.springframework.beans.factory.FactoryBean から継承されたメソッド
isSingletonインターフェース org.springframework.context.SmartLifecycle から継承されたメソッド
isPauseable
コンストラクターの詳細
RemoteFileStreamingInboundChannelAdapterSpec
public RemoteFileStreamingInboundChannelAdapterSpec()
メソッドの詳細
remoteFileSeparator
remoteDirectory
remoteDirectory
リモートディレクトリへの絶対パスに評価される式を指定します。- パラメーター:
remoteDirectoryExpression- リモートディレクトリ式。- 戻り値:
- スペック。
remoteDirectory
リモートディレクトリへの絶対パスを判別するために呼び出される関数を指定してください。- パラメーター:
remoteDirectoryFunction- リモートディレクトリ機能。- 戻り値:
- スペック。
filter
FileListFilterをコピーする前に、リモートファイルに適用するように構成します。- パラメーター:
filter- フィルター。- 戻り値:
- スペック。
filterExpression
ExpressionFileListFilterを構成します。- パラメーター:
expression- ファイルフィルタリング用の SpEL 式。- 戻り値:
- スペック。
- 関連事項:
filterFunction
ExpressionFileListFilterを構成します。- パラメーター:
filterFunction- ファイルフィルタリング用のFunctionSE。- 戻り値:
- スペック。
- 関連事項:
maxFetchSize
フェッチの試行ごとにフェッチされるリモートファイルの最大数を指定します。複数のアプリケーションインスタンスが実行されている場合は、1 つのインスタンスがすべてのファイルを「取得」しないように、少数をお勧めします。- パラメーター:
maxFetchSize- 最大フェッチサイズ。- 戻り値:
- スペック。
- 関連事項:
getComponentsToRegister
- 次で指定:
- インターフェース
ComponentsRegistrationのgetComponentsToRegister
patternFilter
regexFilter