Class SmbStreamingInboundChannelAdapterSpec
java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<SmbStreamingInboundChannelAdapterSpec,SmbStreamingMessageSource>
org.springframework.integration.dsl.MessageSourceSpec<SmbStreamingInboundChannelAdapterSpec,SmbStreamingMessageSource>
org.springframework.integration.file.dsl.RemoteFileStreamingInboundChannelAdapterSpec<jcifs.smb.SmbFile,SmbStreamingInboundChannelAdapterSpec,SmbStreamingMessageSource>
org.springframework.integration.smb.dsl.SmbStreamingInboundChannelAdapterSpec
- All Implemented Interfaces:
DisposableBean,FactoryBean<SmbStreamingMessageSource>,InitializingBean,Lifecycle,Phased,SmartLifecycle,ComponentsRegistration
public class SmbStreamingInboundChannelAdapterSpec
extends RemoteFileStreamingInboundChannelAdapterSpec<jcifs.smb.SmbFile,SmbStreamingInboundChannelAdapterSpec,SmbStreamingMessageSource>
- Since:
- 6.0
- Author:
- Gregory Bragg, Artem Bilan
-
Field Summary
Fields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
logger, PARSER, targetFields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTEFields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSmbStreamingInboundChannelAdapterSpec(RemoteFileTemplate<jcifs.smb.SmbFile> remoteFileTemplate, Comparator<jcifs.smb.SmbFile> 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, remoteFileSeparatorMethods inherited from class org.springframework.integration.dsl.MessageSourceSpec
messageHeadersMethods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, afterPropertiesSet, destroy, doGet, getId, getObject, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stopMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.FactoryBean
isSingleton
-
Constructor Details
-
SmbStreamingInboundChannelAdapterSpec
protected SmbStreamingInboundChannelAdapterSpec(RemoteFileTemplate<jcifs.smb.SmbFile> remoteFileTemplate, @Nullable Comparator<jcifs.smb.SmbFile> comparator)
-
-
Method Details
-
patternFilter
Specify a simple pattern to match remote files (e.g. '*.txt').- Specified by:
patternFilterin classRemoteFileStreamingInboundChannelAdapterSpec<jcifs.smb.SmbFile,SmbStreamingInboundChannelAdapterSpec, SmbStreamingMessageSource> - 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:
regexFilterin classRemoteFileStreamingInboundChannelAdapterSpec<jcifs.smb.SmbFile,SmbStreamingInboundChannelAdapterSpec, SmbStreamingMessageSource> - Parameters:
regex- the expression.- Returns:
- the spec.
- See Also:
-