Skip to main content
Version: 3.3

Local Folder Listener

The Local Folder Listener monitors file folders for files and will execute a pre-defined Job Configuration (config-id) when triggered.

Notes

Listener Configuration

listeners.yml

<ProgramDataDirectory>/Actian/FileFolderListener/conf/listeners.yml

Example

IMPORTANT

Indentation is critical for YAML syntax!

listeners:
- id: local-listener-folder-accounts
config-id: 90378
listener-type: local
active: true
source-directory: C:/DataSources/accounts
include-pattern: ^Accounts.
exclude-pattern: ^skipme.txt
filename-override: Accounts.txt
- id: local-listener-folder-contacts
config-id: 90379
listener-type: local
active: true
source-directory: C:/DataSources/contacts
include-pattern: ^Contacts.*
exclude-pattern: ^skipme.txt
filename-override: Contacts.txt

Properties

Property
DescriptionDefault
idA unique identifier for the listener.
listener-typeAvailable listener types: local, aws, gcp, azure.
config-idThe Job Configuration id to run in Integration Manager.
activeWhether or not this listener is active.true
source-directoryThe source directory to monitor for new files.
include-patternIncludes files if the file name matches the regular expression pattern you specify. See Cheatsheet and RegexPal.
exclude-patternExcludes files if the file name matches the regular expression pattern you specify. See Cheatsheet and RegexPal.
filename-overrideThis value will override the filename passed to Integration Manager, regardless of the original source file name. The original source file name will always be used for backup and error files.
auto-create-directoriesAutomatically create missing directories in the source-directory path.true
recursiveLook for files in all the sub-directories of the source-directory as well.false
flatten-directoriesFlatten the file name path to strip any leading paths, so it’s just the file name. This allows you to consume recursively into sub-directories, but only track the filename for backup and error purposes.false