Uses of Class
org.springframework.integration.file.dsl.FileInboundChannelAdapterSpec
Packages that use FileInboundChannelAdapterSpec
Package
Description
Provides File Components support for Spring Integration Java DSL.
-
Uses of FileInboundChannelAdapterSpec in org.springframework.integration.file.dsl
Methods in org.springframework.integration.file.dsl that return FileInboundChannelAdapterSpecModifier and TypeMethodDescriptionFileInboundChannelAdapterSpec.autoCreateDirectory(boolean autoCreateDirectory) Specify whether to create the source directory automatically if it does not yet exist upon initialization.FileInboundChannelAdapterSpec.filter(FileListFilter<File> filter) Configure the filter.FileInboundChannelAdapterSpec.filterExpression(String expression) Configure theExpressionFileListFilter.FileInboundChannelAdapterSpec.filterFunction(Function<File, Boolean> filterFunction) Configure theExpressionFileListFilter.FileInboundChannelAdapterSpec.ignoreHidden(boolean ignoreHidden) Configure anIgnoreHiddenFileListFilterifignoreHidden == true.Files.inboundAdapter(File directory) Create aFileInboundChannelAdapterSpecbuilder for theFileReadingMessageSource.Files.inboundAdapter(File directory, Comparator<File> receptionOrderComparator) Create aFileInboundChannelAdapterSpecbuilder for theFileReadingMessageSource.FileInboundChannelAdapterSpec.locker(FileLocker locker) Set aFileLockerto be used to guard files against duplicate processing.FileInboundChannelAdapterSpec.nioLocker()Configure anNioFileLocker.FileInboundChannelAdapterSpec.patternFilter(String pattern) Configure aSimplePatternFileListFilter.FileInboundChannelAdapterSpec.preventDuplicates(boolean preventDuplicates) Configure anAcceptOnceFileListFilterifpreventDuplicates == true, otherwise -AcceptAllFileListFilter.FileInboundChannelAdapterSpec.recursive(boolean recursive) A convenient flag to determine if target message source should use aRecursiveDirectoryScanneror stay with a default one.FileInboundChannelAdapterSpec.regexFilter(String regex) Configure aRegexPatternFileListFilter.FileInboundChannelAdapterSpec.scanEachPoll(boolean scanEachPoll) Set this flag if you want to make sure the internal queue is refreshed with the latest content of the input directory on each poll.FileInboundChannelAdapterSpec.scanner(DirectoryScanner scanner) Specify a custom scanner.FileInboundChannelAdapterSpec.useWatchService(boolean useWatchService) Switch thisFileReadingMessageSourceto use its internalWatchServicedirectory scanner.FileInboundChannelAdapterSpec.watchDirPredicate(Predicate<Path> watchDirPredicate) Set aPredicateto check if it is eligible forWatchService.FileInboundChannelAdapterSpec.watchEvents(FileReadingMessageSource.WatchEventType... watchEvents) TheWatchServiceevent types.FileInboundChannelAdapterSpec.watchMaxDepth(int watchMaxDepth) Set a depth for files walk API.