Skip to content

Add possibility to listen on a directory #702

@dr0i

Description

@dr0i

Add a parameter to DirReader.java that enables the Reader to listen without ending if a new file is put to the directory. If a new file comes in the file is read and passed on, just like the Reader works on files it finds in the directory right now.

Would be useful for e.g. https://github.com/hbz/rpb/ where at the moment a new Flux instance is loaded and executed, i.e. a Fix and all lookup-tables coming with it is loaded anew. This happens atm sometimes 5 times a minute. With the "directory-listener" option the Flux and Fix would also be loaded once.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions