Class FtpMessageHandler

All Implemented Interfaces:
org.reactivestreams.Subscriber<Message<?>>, Aware, BeanFactoryAware, BeanNameAware, DisposableBean, InitializingBean, ApplicationContextAware, Ordered, ExpressionCapable, Orderable, IntegrationPattern, NamedComponent, IntegrationManagement, TrackableComponent, MessageHandler, reactor.core.CoreSubscriber<Message<?>>

public class FtpMessageHandler extends FileTransferringMessageHandler<org.apache.commons.net.ftp.FTPFile>
The FTP specific FileTransferringMessageHandler extension. Based on the FtpRemoteFileTemplate.
Since:
4.1.9
Author:
Artem Bilan, Deepak Gunasekaran
See Also:
  • Constructor Details

    • FtpMessageHandler

      public FtpMessageHandler(SessionFactory<org.apache.commons.net.ftp.FTPFile> sessionFactory)
    • FtpMessageHandler

      public FtpMessageHandler(FtpRemoteFileTemplate remoteFileTemplate)
    • FtpMessageHandler

      public FtpMessageHandler(FtpRemoteFileTemplate ftpRemoteFileTemplate, FileExistsMode mode)
      Constructor which sets the FtpRemoteFileTemplate and FileExistsMode.
      Parameters:
      ftpRemoteFileTemplate - the remote file template.
      mode - the file exists mode.
      Since:
      5.4
  • Method Details