public class SftpStreamingMessageSource extends AbstractRemoteFileStreamingMessageSource<com.jcraft.jsch.ChannelSftp.LsEntry>
IntegrationManagement.ManagementOverrides
EXPRESSION_PARSER, logger
METER_PREFIX, RECEIVE_COUNTER_NAME, SEND_TIMER_NAME
Constructor and Description |
---|
SftpStreamingMessageSource(RemoteFileTemplate<com.jcraft.jsch.ChannelSftp.LsEntry> template)
Construct an instance with the supplied template.
|
SftpStreamingMessageSource(RemoteFileTemplate<com.jcraft.jsch.ChannelSftp.LsEntry> template,
java.util.Comparator<AbstractFileInfo<com.jcraft.jsch.ChannelSftp.LsEntry>> comparator)
Construct an instance with the supplied template and comparator.
|
Modifier and Type | Method and Description |
---|---|
protected java.util.List<AbstractFileInfo<com.jcraft.jsch.ChannelSftp.LsEntry>> |
asFileInfoList(java.util.Collection<com.jcraft.jsch.ChannelSftp.LsEntry> files) |
java.lang.String |
getComponentType() |
protected boolean |
isDirectory(com.jcraft.jsch.ChannelSftp.LsEntry file) |
afterPropertiesSet, doInit, doReceive, doReceive, doSetFilter, getRemoteFileTemplate, poll, remotePath, rollbackFromFileToListEnd, setFileInfoJson, setFilter, setRemoteDirectory, setRemoteDirectoryExpression, setRemoteFileSeparator
getMaxFetchSize, setMaxFetchSize
buildMessage, getComponentName, getManagedName, getManagedType, getMessageCount, getMessageCountLong, getOverrides, isCountsEnabled, isLoggingEnabled, receive, registerMetricsCaptor, reset, setBeanName, setCountsEnabled, setHeaderExpressions, setLoggingEnabled, setManagedName, setManagedType
evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, getBeanFactory, getEvaluationContext, getEvaluationContext, getMessageBuilderFactory, setBeanFactory, setConversionService
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getManagedName, getManagedType, getMessageCount, getMessageCountLong, setCounter, setManagedName, setManagedType
getOverrides, isCountsEnabled, isLoggingEnabled, registerMetricsCaptor, reset, setCountsEnabled, setLoggingEnabled
public SftpStreamingMessageSource(RemoteFileTemplate<com.jcraft.jsch.ChannelSftp.LsEntry> template)
template
- the template.public SftpStreamingMessageSource(RemoteFileTemplate<com.jcraft.jsch.ChannelSftp.LsEntry> template, java.util.Comparator<AbstractFileInfo<com.jcraft.jsch.ChannelSftp.LsEntry>> comparator)
template
- the template.comparator
- the comparator.public java.lang.String getComponentType()
protected java.util.List<AbstractFileInfo<com.jcraft.jsch.ChannelSftp.LsEntry>> asFileInfoList(java.util.Collection<com.jcraft.jsch.ChannelSftp.LsEntry> files)
asFileInfoList
in class AbstractRemoteFileStreamingMessageSource<com.jcraft.jsch.ChannelSftp.LsEntry>
protected boolean isDirectory(com.jcraft.jsch.ChannelSftp.LsEntry file)
isDirectory
in class AbstractRemoteFileStreamingMessageSource<com.jcraft.jsch.ChannelSftp.LsEntry>