Class SmbStreamingMessageSource

All Implemented Interfaces:
Aware, BeanFactoryAware, BeanNameAware, DisposableBean, InitializingBean, Lifecycle, MessageSource<InputStream>, IntegrationPattern, NamedComponent, IntegrationInboundManagement, IntegrationManagement, ManageableLifecycle, MessageSourceManagement

public class SmbStreamingMessageSource extends AbstractRemoteFileStreamingMessageSource<org.codelibs.jcifs.smb.impl.SmbFile>
Message source for streaming SMB remote file contents.
Since:
6.0
Author:
Gregory Bragg, Artem Bilan, Daniel Frey
  • Constructor Details

    • SmbStreamingMessageSource

      public SmbStreamingMessageSource(RemoteFileTemplate<org.codelibs.jcifs.smb.impl.SmbFile> template)
      Construct an instance with the supplied template.
      Parameters:
      template - the template.
    • SmbStreamingMessageSource

      public SmbStreamingMessageSource(RemoteFileTemplate<org.codelibs.jcifs.smb.impl.SmbFile> template, @Nullable Comparator<org.codelibs.jcifs.smb.impl.SmbFile> comparator)
      Construct an instance with the supplied template and comparator. Note: the comparator is applied each time the remote directory is listed which only occurs when the previous list is exhausted.
      Parameters:
      template - the template.
      comparator - the comparator.
  • Method Details