public class SftpMessageHandler extends FileTransferringMessageHandler<com.jcraft.jsch.ChannelSftp.LsEntry>
FileTransferringMessageHandler
for SFTP.remoteFileTemplate
logger
Constructor and Description |
---|
SftpMessageHandler(SessionFactory<com.jcraft.jsch.ChannelSftp.LsEntry> sessionFactory) |
SftpMessageHandler(SftpRemoteFileTemplate remoteFileTemplate) |
SftpMessageHandler(SftpRemoteFileTemplate remoteFileTemplate,
FileExistsMode mode) |
getTemporaryFileSuffix, handleMessageInternal, isUseTemporaryFileName, onInit, setAutoCreateDirectory, setCharset, setFileNameGenerator, setRemoteDirectoryExpression, setRemoteFileSeparator, setTemporaryFileSuffix, setTemporaryRemoteDirectoryExpression, setUseTemporaryFileName
configureMetrics, getActiveCount, getActiveCountLong, getComponentType, getDuration, getErrorCount, getErrorCountLong, getHandleCount, getHandleCountLong, getManagedName, getManagedType, getMaxDuration, getMeanDuration, getMinDuration, getOrder, getStandardDeviationDuration, handleMessage, isCountsEnabled, isLoggingEnabled, isStatsEnabled, reset, setCountsEnabled, setLoggingEnabled, setManagedName, setManagedType, setOrder, setShouldTrack, setStatsEnabled
afterPropertiesSet, extractTypeIfPossible, getApplicationContext, getApplicationContextId, getBeanFactory, getChannelResolver, getComponentName, getConversionService, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setConversionService, setMessageBuilderFactory, setTaskScheduler, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getComponentName
public SftpMessageHandler(SftpRemoteFileTemplate remoteFileTemplate)
remoteFileTemplate
- the template.(org.springframework.integration.file.remote.RemoteFileTemplate)
public SftpMessageHandler(SftpRemoteFileTemplate remoteFileTemplate, FileExistsMode mode)
remoteFileTemplate
- the template.mode
- the file exists mode.(org.springframework.integration.file.remote.RemoteFileTemplate, FileExistsMode)
public SftpMessageHandler(SessionFactory<com.jcraft.jsch.ChannelSftp.LsEntry> sessionFactory)
sessionFactory
- the session factory.(SessionFactory)