public class FtpStreamingMessageSource extends AbstractRemoteFileStreamingMessageSource<org.apache.commons.net.ftp.FTPFile>
IntegrationManagement.ManagementOverrides
EXPRESSION_PARSER, logger
METER_PREFIX, RECEIVE_COUNTER_NAME, SEND_TIMER_NAME
Constructor and Description |
---|
FtpStreamingMessageSource(RemoteFileTemplate<org.apache.commons.net.ftp.FTPFile> template)
Construct an instance with the supplied template.
|
FtpStreamingMessageSource(RemoteFileTemplate<org.apache.commons.net.ftp.FTPFile> template,
Comparator<org.apache.commons.net.ftp.FTPFile> comparator)
Construct an instance with the supplied template and comparator.
|
Modifier and Type | Method and Description |
---|---|
protected List<AbstractFileInfo<org.apache.commons.net.ftp.FTPFile>> |
asFileInfoList(Collection<org.apache.commons.net.ftp.FTPFile> files) |
String |
getComponentType() |
protected boolean |
isDirectory(org.apache.commons.net.ftp.FTPFile file) |
doInit, doReceive, doSetFilter, getRemoteFileTemplate, isRunning, onInit, poll, remotePath, rollbackFromFileToListEnd, setFileInfoJson, setFilter, setRemoteDirectory, setRemoteDirectoryExpression, setRemoteFileSeparator, start, stop
doReceive, getMaxFetchSize, setMaxFetchSize
buildMessage, destroy, getBeanName, getComponentName, getManagedName, getManagedType, getOverrides, isLoggingEnabled, receive, registerMetricsCaptor, setBeanName, setHeaderExpressions, setLoggingEnabled, setManagedName, setManagedType
afterPropertiesSet, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, getBeanFactory, getEvaluationContext, getEvaluationContext, getMessageBuilderFactory, setBeanFactory, setConversionService
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getIntegrationPatternType
getThisAs
public FtpStreamingMessageSource(RemoteFileTemplate<org.apache.commons.net.ftp.FTPFile> template)
template
- the template.public FtpStreamingMessageSource(RemoteFileTemplate<org.apache.commons.net.ftp.FTPFile> template, Comparator<org.apache.commons.net.ftp.FTPFile> comparator)
template
- the template.comparator
- the comparator.public String getComponentType()
protected List<AbstractFileInfo<org.apache.commons.net.ftp.FTPFile>> asFileInfoList(Collection<org.apache.commons.net.ftp.FTPFile> files)
asFileInfoList
in class AbstractRemoteFileStreamingMessageSource<org.apache.commons.net.ftp.FTPFile>
protected boolean isDirectory(org.apache.commons.net.ftp.FTPFile file)
isDirectory
in class AbstractRemoteFileStreamingMessageSource<org.apache.commons.net.ftp.FTPFile>