Class FtpStreamingInboundChannelAdapterSpec
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<T>
org.springframework.integration.dsl.IntegrationComponentSpec<S,H>
org.springframework.integration.dsl.MessageSourceSpec<S,MS>
org.springframework.integration.file.dsl.RemoteFileStreamingInboundChannelAdapterSpec<org.apache.commons.net.ftp.FTPFile,FtpStreamingInboundChannelAdapterSpec,FtpStreamingMessageSource>
org.springframework.integration.ftp.dsl.FtpStreamingInboundChannelAdapterSpec
- All Implemented Interfaces:
Aware,BeanClassLoaderAware,BeanFactoryAware,DisposableBean,FactoryBean<FtpStreamingMessageSource>,InitializingBean,Lifecycle,Phased,SmartLifecycle,ComponentsRegistration
public class FtpStreamingInboundChannelAdapterSpec extends RemoteFileStreamingInboundChannelAdapterSpec<org.apache.commons.net.ftp.FTPFile,FtpStreamingInboundChannelAdapterSpec,FtpStreamingMessageSource>
- Since:
- 5.0
- Author:
- Gary Russell, Artem Bilan
-
Field Summary
Fields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
PARSER, target -
Constructor Summary
Constructors Modifier Constructor Description protectedFtpStreamingInboundChannelAdapterSpec(RemoteFileTemplate<org.apache.commons.net.ftp.FTPFile> remoteFileTemplate, Comparator<org.apache.commons.net.ftp.FTPFile> comparator) -
Method Summary
Modifier and Type Method Description FtpStreamingInboundChannelAdapterSpecpatternFilter(String pattern)Specify a simple pattern to match remote files (e.g.FtpStreamingInboundChannelAdapterSpecregexFilter(String regex)Specify a regular expression to match remote files (e.g.Methods inherited from class org.springframework.integration.file.dsl.RemoteFileStreamingInboundChannelAdapterSpec
filter, filterExpression, filterFunction, getComponentsToRegister, maxFetchSize, remoteDirectory, remoteDirectory, remoteDirectory, remoteFileSeparatorMethods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, createInstance, destroyInstance, doGet, get, getId, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stopMethods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
-
Constructor Details
-
FtpStreamingInboundChannelAdapterSpec
protected FtpStreamingInboundChannelAdapterSpec(RemoteFileTemplate<org.apache.commons.net.ftp.FTPFile> remoteFileTemplate, Comparator<org.apache.commons.net.ftp.FTPFile> comparator)
-
-
Method Details
-
patternFilter
Specify a simple pattern to match remote files (e.g. '*.txt').- Specified by:
patternFilterin classRemoteFileStreamingInboundChannelAdapterSpec<org.apache.commons.net.ftp.FTPFile,FtpStreamingInboundChannelAdapterSpec,FtpStreamingMessageSource>- Parameters:
pattern- the pattern.- Returns:
- the spec.
- See Also:
FtpSimplePatternFileListFilter,RemoteFileStreamingInboundChannelAdapterSpec.filter(org.springframework.integration.file.filters.FileListFilter)
-
regexFilter
Specify a regular expression to match remote files (e.g. '[0-9].*.txt').- Specified by:
regexFilterin classRemoteFileStreamingInboundChannelAdapterSpec<org.apache.commons.net.ftp.FTPFile,FtpStreamingInboundChannelAdapterSpec,FtpStreamingMessageSource>- Parameters:
regex- the expression.- Returns:
- the spec.
- See Also:
FtpRegexPatternFileListFilter,RemoteFileStreamingInboundChannelAdapterSpec.filter(org.springframework.integration.file.filters.FileListFilter)
-