Class SftpStreamingInboundChannelAdapterSpec
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<com.jcraft.jsch.ChannelSftp.LsEntry,SftpStreamingInboundChannelAdapterSpec,SftpStreamingMessageSource>
org.springframework.integration.sftp.dsl.SftpStreamingInboundChannelAdapterSpec
- All Implemented Interfaces:
Aware
,BeanClassLoaderAware
,BeanFactoryAware
,DisposableBean
,FactoryBean<SftpStreamingMessageSource>
,InitializingBean
,Lifecycle
,Phased
,SmartLifecycle
,ComponentsRegistration
public class SftpStreamingInboundChannelAdapterSpec
extends RemoteFileStreamingInboundChannelAdapterSpec<com.jcraft.jsch.ChannelSftp.LsEntry,SftpStreamingInboundChannelAdapterSpec,SftpStreamingMessageSource>
- Since:
- 5.0
- Author:
- Gary Russell
-
Field Summary
Fields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
PARSER, target
Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
logger
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
Fields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE
-
Constructor Summary
ModifierConstructorDescriptionprotected
SftpStreamingInboundChannelAdapterSpec
(RemoteFileTemplate<com.jcraft.jsch.ChannelSftp.LsEntry> remoteFileTemplate, Comparator<com.jcraft.jsch.ChannelSftp.LsEntry> comparator) -
Method Summary
Modifier and TypeMethodDescriptionpatternFilter
(String pattern) Specify a simple pattern to match remote files (e.g.regexFilter
(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, remoteFileSeparator
Methods inherited from class org.springframework.integration.dsl.MessageSourceSpec
messageHeaders
Methods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, createInstance, destroyInstance, doGet, get, getId, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stop
Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
-
Constructor Details
-
SftpStreamingInboundChannelAdapterSpec
protected SftpStreamingInboundChannelAdapterSpec(RemoteFileTemplate<com.jcraft.jsch.ChannelSftp.LsEntry> remoteFileTemplate, Comparator<com.jcraft.jsch.ChannelSftp.LsEntry> comparator)
-
-
Method Details
-
patternFilter
Specify a simple pattern to match remote files (e.g. '*.txt').- Specified by:
patternFilter
in classRemoteFileStreamingInboundChannelAdapterSpec<com.jcraft.jsch.ChannelSftp.LsEntry,
SftpStreamingInboundChannelAdapterSpec, SftpStreamingMessageSource> - Parameters:
pattern
- the pattern.- Returns:
- the spec.
- See Also:
-
regexFilter
Specify a regular expression to match remote files (e.g. '[0-9].*.txt').- Specified by:
regexFilter
in classRemoteFileStreamingInboundChannelAdapterSpec<com.jcraft.jsch.ChannelSftp.LsEntry,
SftpStreamingInboundChannelAdapterSpec, SftpStreamingMessageSource> - Parameters:
regex
- the expression.- Returns:
- the spec.
- See Also:
-