public class FtpMessageHandler extends FileTransferringMessageHandler<org.apache.commons.net.ftp.FTPFile>
FileTransferringMessageHandler extension. Based on the
FtpRemoteFileTemplate.FtpRemoteFileTemplateIntegrationManagement.ManagementOverridesremoteFileTemplateEXPRESSION_PARSER, loggerHIGHEST_PRECEDENCE, LOWEST_PRECEDENCEMETER_PREFIX, RECEIVE_COUNTER_NAME, SEND_TIMER_NAME| Constructor and Description |
|---|
FtpMessageHandler(FtpRemoteFileTemplate remoteFileTemplate) |
FtpMessageHandler(FtpRemoteFileTemplate ftpRemoteFileTemplate,
FileExistsMode mode)
Constructor which sets the FtpRemoteFileTemplate and FileExistsMode.
|
FtpMessageHandler(RemoteFileTemplate<org.apache.commons.net.ftp.FTPFile> remoteFileTemplate,
FileExistsMode mode)
Deprecated.
|
FtpMessageHandler(SessionFactory<org.apache.commons.net.ftp.FTPFile> sessionFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doChmod(RemoteFileTemplate<org.apache.commons.net.ftp.FTPFile> remoteFileTemplate,
String path,
int chmod)
Set the mode on the remote file after transfer; the default implementation does
nothing.
|
boolean |
isChmodCapable() |
getTemporaryFileSuffix, handleMessageInternal, isUseTemporaryFileName, onInit, setAutoCreateDirectory, setCharset, setChmod, setChmodOctal, setFileNameGenerator, setRemoteDirectoryExpression, setRemoteDirectoryExpressionString, setRemoteFileSeparator, setTemporaryFileSuffix, setTemporaryRemoteDirectoryExpression, setTemporaryRemoteDirectoryExpressionString, setUseTemporaryFileNamehandleMessage, onComplete, onError, onNext, onSubscribebuildSendTimer, destroy, getComponentType, getIntegrationPatternType, getManagedName, getManagedType, getMetricsCaptor, getOrder, getOverrides, isLoggingEnabled, registerMetricsCaptor, sendTimer, setLoggingEnabled, setManagedName, setManagedType, setOrder, setShouldTrack, shouldTrackafterPropertiesSet, extractTypeIfPossible, generateId, getApplicationContext, getApplicationContextId, getBeanDescription, getBeanFactory, getBeanName, getChannelResolver, getComponentName, getConversionService, getExpression, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, isInitialized, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setConversionService, setMessageBuilderFactory, setPrimaryExpression, setTaskScheduler, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetThisAsgetBeanName, getComponentNamepublic FtpMessageHandler(SessionFactory<org.apache.commons.net.ftp.FTPFile> sessionFactory)
public FtpMessageHandler(FtpRemoteFileTemplate remoteFileTemplate)
@Deprecated public FtpMessageHandler(RemoteFileTemplate<org.apache.commons.net.ftp.FTPFile> remoteFileTemplate, FileExistsMode mode)
FtpMessageHandler(FtpRemoteFileTemplate, FileExistsMode)remoteFileTemplate - the remote file template.mode - the file exists mode.public FtpMessageHandler(FtpRemoteFileTemplate ftpRemoteFileTemplate, FileExistsMode mode)
ftpRemoteFileTemplate - the remote file template.mode - the file exists mode.public boolean isChmodCapable()
isChmodCapable in class FileTransferringMessageHandler<org.apache.commons.net.ftp.FTPFile>protected void doChmod(RemoteFileTemplate<org.apache.commons.net.ftp.FTPFile> remoteFileTemplate, String path, int chmod)
FileTransferringMessageHandlerdoChmod in class FileTransferringMessageHandler<org.apache.commons.net.ftp.FTPFile>remoteFileTemplate - the remote file template.path - the path.chmod - the chmod to set.