5.2. Characteristics of Filesystem Gateway Listeners

A filesystem gateway listener can be called when a file is modified to process the changes universally. It creates notifications of any edits that are made.
The AbstractFileGateway class is the base for these gateways. It works with the AbstractScheduledManagedLifecycle class to derive information from events. It uses a single thread to perform file operations and send ESB messages to the bus.
Inserting the max-millis-for-response property results in the ESB messages being sent synchronously. If there is an exception, the gateway will move the file to an error directory. (For asynchronous processing, withdraw this property. There will be no notifications if an exception is encountered- instead, it will be processed in a different thread.)