Class SmbStreamingMessageSource

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

public class SmbStreamingMessageSource extends AbstractRemoteFileStreamingMessageSource<jcifs.smb.SmbFile>
Message source for streaming SMB remote file contents.
Since:
6.0
Author:
Gregory Bragg
  • Constructor Details

    • SmbStreamingMessageSource

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

      public SmbStreamingMessageSource(RemoteFileTemplate<jcifs.smb.SmbFile> template, Comparator<jcifs.smb.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