public class FtpMessageHandler extends FileTransferringMessageHandler<org.apache.commons.net.ftp.FTPFile>
FileTransferringMessageHandler extension.
Based on the FtpRemoteFileTemplate.FtpRemoteFileTemplateIntegrationManagement.ManagementOverridesremoteFileTemplateEXPRESSION_PARSER, loggerMETER_PREFIX, RECEIVE_COUNTER_NAME, SEND_TIMER_NAMEHIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Constructor and Description |
|---|
FtpMessageHandler(FtpRemoteFileTemplate remoteFileTemplate) |
FtpMessageHandler(RemoteFileTemplate<org.apache.commons.net.ftp.FTPFile> remoteFileTemplate,
FileExistsMode mode) |
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, setUseTemporaryFileNameconfigureMetrics, destroy, getActiveCount, getActiveCountLong, getComponentType, getDuration, getErrorCount, getErrorCountLong, getHandleCount, getHandleCountLong, getManagedName, getManagedType, getMaxDuration, getMeanDuration, getMetricsCaptor, getMinDuration, getOrder, getOverrides, getStandardDeviationDuration, handleMessage, isCountsEnabled, isLoggingEnabled, isStatsEnabled, onComplete, onError, onNext, onSubscribe, registerMetricsCaptor, reset, setCountsEnabled, setLoggingEnabled, setManagedName, setManagedType, setOrder, setShouldTrack, setStatsEnabledafterPropertiesSet, 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, waiterrorCount, handleCountgetBeanName, getComponentNamepublic FtpMessageHandler(SessionFactory<org.apache.commons.net.ftp.FTPFile> sessionFactory)
public FtpMessageHandler(FtpRemoteFileTemplate remoteFileTemplate)
public FtpMessageHandler(RemoteFileTemplate<org.apache.commons.net.ftp.FTPFile> remoteFileTemplate, FileExistsMode 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.