Skip to content

Sftp input plugin should process file once #127

@alexjoybc

Description

@alexjoybc

public MessageSource<InputStream> sftpMessageSource() {
SftpStreamingMessageSource messageSource = new SftpStreamingMessageSource(template());
messageSource.setRemoteDirectory(properties.getRemoteDirectory());
if(properties.getFilterPattern() != null && !"".equals(properties.getFilterPattern()))
messageSource.setFilter(new SftpRegexPatternFileListFilter(properties.getFilterPattern()));
return messageSource;

The sftp inbound chanel should only process files once.

configuring the sftp-streaming adapter with a metadatastore should allow to process file only once (using redis) for this repo.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions